Skip to content

Commit 3ec77db

Browse files
✅ Adapt skip-list test to generated filename
1 parent 0ff719a commit 3ec77db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_misc.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ def test_save_script_parameters_skip_whole_names(tmp_path, monkeypatch, caplog):
9696
inputs={"rm": "roimanager", "fusion_format": "TIFF", "commander": "x"},
9797
)
9898
script_globals = {"org.scijava.script.ScriptModule": script_module}
99-
save_script_parameters(script_globals, destination=tmp_path)
99+
save_script_parameters(script_globals, destination=tmp_path, overwrite=True)
100100

101-
with open(str(tmp_path) + "/script_parameters.txt", "r") as f:
101+
with open(str(tmp_path) + "/script_params.txt", "r") as f:
102102
contents = f.read()
103103
assert contents == "fusion_format: TIFF\ncommander: x\n"
104104

0 commit comments

Comments
 (0)