Commit a58b5bc3 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

fixed FileNotFoundError within Test_GeoarrayAppliedOnTiffPath.setUpClass

parent 4c76828b
......@@ -32,6 +32,7 @@ import osgeo.osr
# Imports regarding the created python module
from geoarray import GeoArray
from geoarray import __file__ as path_geoarrayLib
......@@ -45,7 +46,8 @@ class Test_GeoarrayAppliedOnTiffPath(unittest.TestCase):
def setUpClass(cls):
global L8_2bands_extract10x11
L8_2bands_extract10x11 = "../tests/data/L8_2bands_extract10x11.tif"
L8_2bands_extract10x11 = \
os.path.join(os.path.dirname(path_geoarrayLib), '../tests/data/L8_2bands_extract10x11.tif')
cls.testtiff = GeoArray(L8_2bands_extract10x11)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment