diff --git a/Makefile b/Makefile index 4b43564..a89856c 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ install-dev: pip install -e . smoke-test: - eynollah -i tests/resources/kant_aufklaerung_1784_0020.tif -o . -m $(PWD)/models_eynollah + eynollah -i tests/resources/kant_aufklaerung_1784_0020.tif -o . -m $(EYNOLLAH_MODELS) # Run unit tests test: diff --git a/tests/test_run.py b/tests/test_run.py index b1137e7..e591a04 100644 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -6,7 +6,8 @@ from qurator.eynollah.cli import main as eynollah_cli testdir = Path(__file__).parent.resolve() -EYNOLLAH_MODELS = environ.get('EYNOLLAH_MODELS', str(testdir.joinpath('..', 'models_eynollah').resolve())) +# EYNOLLAH_MODELS = environ.get('EYNOLLAH_MODELS', str(testdir.joinpath('..', 'models_eynollah').resolve())) +EYNOLLAH_MODELS = environ['EYNOLLAH_MODELS'] class TestEynollahRun(TestCase):