Skip to content

Commit

Permalink
change hardcoded paths to resource folder paths
Browse files Browse the repository at this point in the history
  • Loading branch information
P-Mousley authored Jan 16, 2025
1 parent 7bab1f0 commit ff22eed
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/unit/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ def test_local_path(nexus_base, path):
'nexus_base, path',
[
(lazy('nexus_base_object_01'),
'/dls/i07/data/2021/si28707-1/i07-404876.nxs'),
(lazy('i07_nexus_object_01'),
'/dls/i07/data/2021/si28707-1/i07-404876.nxs')
lazy('path_to_i07_h5_01'))
#'/dls/i07/data/2021/si28707-1/i07-404876.nxs'),
#(lazy('i07_nexus_object_01'),
# '/dls/i07/data/2021/si28707-1/i07-404876.nxs')
]
)
def test_src_path(nexus_base, path):
Expand All @@ -127,7 +128,8 @@ def test_src_path(nexus_base, path):
'i07_nexus, path',
[
(lazy('i07_nexus_object_01'),
'/dls/i07/data/2021/si28707-1/excaliburScan404876_000001.h5')
lazy('path_to_i07_h5_01'))
# '/dls/i07/data/2021/si28707-1/excaliburScan404876_000001.h5')
]
)
def test_src_data_path(i07_nexus: I07Nexus, path):
Expand Down

0 comments on commit ff22eed

Please sign in to comment.