Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 09c790c

Browse files
committedMar 17, 2025
Use same input for test to work
1 parent 678596e commit 09c790c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/bdv/test_define_dataset_auto.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_define_dataset_auto_tile(tmp_path, caplog):
101101
final_call = "IJ.run(cmd=[%s], params=[%s])" % (cmd, options)
102102

103103
# Define the dataset using the "Auto-Loader" option
104-
bdv.define_dataset_auto(project_filename, file_path, bf_series_type)
104+
bdv.define_dataset_auto(project_filename, file_info["path"], bf_series_type)
105105
# Check if the final call is in the log
106106
assert final_call == caplog.messages[0]
107107

@@ -167,6 +167,6 @@ def test_define_dataset_auto_angle(tmp_path, caplog):
167167
final_call = "IJ.run(cmd=[%s], params=[%s])" % (cmd, options)
168168

169169
# Define the dataset using the "Auto-Loader" option
170-
bdv.define_dataset_auto(project_filename, file_path, bf_series_type)
170+
bdv.define_dataset_auto(project_filename, file_info["path"], bf_series_type)
171171
# Check if the final call is in the log
172172
assert final_call == caplog.messages[0]

0 commit comments

Comments
 (0)
Please sign in to comment.