Skip to content

Commit c8e0204

Browse files
committed
correction for click test
1 parent 27b6336 commit c8e0204

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/test_example_datasets_click.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_example_datasets_click():
1818
def test_example_datasets_click_seperate_files():
1919
test_dir = os.path.join("bids-examples", test_data_set)
2020
runner = CliRunner()
21-
result = runner.invoke(convert_click, ["--multiple-file", test_dir])
21+
result = runner.invoke(convert_click, ["--multiple-files", test_dir])
2222
assert result.exit_code == 0
2323
path_openminds = os.path.join(test_dir, "openminds")
2424
numer_of_files = len(os.listdir(path_openminds))
@@ -27,9 +27,10 @@ def test_example_datasets_click_seperate_files():
2727

2828
def test_example_datasets_click_output_location():
2929
test_dir = os.path.join("bids-examples", test_data_set)
30+
openminds_file = os.path.join("bids-examples", "test_openminds.jsonld")
3031
runner = CliRunner()
3132
result = runner.invoke(
32-
convert_click, ["-o", "test_openminds.jsonld", test_dir])
33+
convert_click, ["-o", openminds_file, test_dir])
3334
assert result.exit_code == 0
3435
c = Collection()
35-
c.load("test_openminds.jsonld")
36+
c.load(openminds_file)

0 commit comments

Comments
 (0)