1
0
mirror of synced 2025-01-03 18:41:59 +01:00
TheChymera-overlay/sci-biology/bids-schemacode/files/bids-schemacode-1.7.0_p20220526-nonetwork.patch
Horea Christian ae712de08a sci-biology/bids-schemacode: experimental package
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
2022-05-30 01:47:51 -04:00

20 lines
511 B
Diff

--- 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