From 520389065e91eada29040e8def4146920db7f8b2 Mon Sep 17 00:00:00 2001
From: Christopher Rhodes <christopher.rhodes@embl.de>
Date: Tue, 5 Sep 2023 13:47:53 +0200
Subject: [PATCH] Cleaned up paths to test data

---
 conf/defaults.py    | 2 +-
 conf/testing.py     | 5 +++--
 tests/test_image.py | 1 +
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/conf/defaults.py b/conf/defaults.py
index 91675a25..9323b984 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 b8ac1214..55408381 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 367041e6..7f6df822 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
 
-- 
GitLab