diff --git a/conf/defaults.py b/conf/defaults.py index 91675a256c2f5dcad8091c2b8c280b65a41fdc1c..9323b984322cbd82538408bd01cde34e606bfe7a 100644 --- a/conf/defaults.py +++ b/conf/defaults.py @@ -1,6 +1,6 @@ from pathlib import Path -root = Path.home() / 'model-server' / 'resources' +root = Path.home() / 'model-server' / 'sessions' subdirectories = { 'logs': 'logs', diff --git a/conf/testing.py b/conf/testing.py index b8ac12145ad94251f7bfa640b0ed3bebfa65af16..5540838150cac9bd9bcdb79434d8f5e4a3714b54 100644 --- a/conf/testing.py +++ b/conf/testing.py @@ -1,10 +1,11 @@ from pathlib import Path -root = Path('c:/Users/rhodes/projects/proj0015-model-server/resources') +root = Path.home() / 'model-server' / 'testing' + filename = 'D3-selection-01.czi' czifile = { 'filename': filename, - 'path': root / 'testdata' / filename, + 'path': root / filename, 'w': 1274, 'h': 1274, 'c': 5, diff --git a/tests/test_image.py b/tests/test_image.py index 367041e60046bc91b19dcf4ddd33a5c871f744a2..7f6df8220c88d386ee93c2bfa1b623b634aeb527 100644 --- a/tests/test_image.py +++ b/tests/test_image.py @@ -6,6 +6,7 @@ from conf.testing import czifile, output_path from model_server.image import CziImageFileAccessor, DataShapeError, InMemoryDataAccessor, write_accessor_data_to_file class TestCziImageFileAccess(unittest.TestCase): + def setUp(self) -> None: pass