Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion dandi/cli/tests/test_cmd_ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,13 @@ def test_ls_bids_file(bids_examples: Path) -> None:
bids_file_path = (
bids_examples / "asl003" / "sub-Sub1" / "anat" / "sub-Sub1_T1w.nii.gz"
)
r = CliRunner().invoke(ls, ["-f", "yaml", str(bids_file_path)])
r = CliRunner().invoke(
ls,
["-f", "yaml", str(bids_file_path)],
# workaround since bst manages to log to stdout
# https://github.com/bids-standard/bids-specification/pull/2085
env={"BIDS_SCHEMA_LOG_LEVEL": "CRITICAL"},
)
assert r.exit_code == 0, r.output
data = yaml_load(r.stdout, "safe")
assert len(data) == 1
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ project_urls =
[options]
python_requires = >=3.9
install_requires =
bidsschematools ~= 0.7.0
bidsschematools ~= 1.0
click >= 7.1
click-didyoumean
dandischema >= 0.11.0, < 0.12.0
Expand Down