1
0
mirror of synced 2024-06-07 13:17:55 +02:00
TheChymera-overlay/sci-biology/bids-schemacode/files/bids-schemacode-1.7.0_p20220526-nonetwork.patch

20 lines
511 B
Diff
Raw Normal View History

--- a/tools/schemacode/schemacode/tests/test_validator.py
+++ b/tools/schemacode/schemacode/tests/test_validator.py
@@ -1,4 +1,5 @@
import os
+import pytest
def test__add_entity():
@@ -295,6 +296,10 @@ def test_write_report(tmp_path):
assert report_text == expected_report_text
+@pytest.mark.skipif(
+ os.environ.get("SCHEMACODE_TESTS_NONETWORK") is not None,
+ reason="no network",
+)
def test_bids_datasets(bids_examples, tmp_path):
from schemacode.validator import validate_bids