Skip to content

Commit 369502b

Browse files
committed
xfail some ebrains tests
1 parent 7c43cbd commit 369502b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/features/test_ebrainsquery.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,12 @@ def test_species(parc_id, region_id, inc_exc):
7979
features: List[siibra.features._basetypes.Feature] = siibra.features.get(
8080
r, siibra.features.dataset.EbrainsDataFeature
8181
)
82-
feature_names = [f.name for f in features]
83-
82+
try:
83+
feature_names = [f.name for f in features]
84+
except siibra.retrieval.requests.MultiSourceRequestException:
85+
pytest.xfail(
86+
"Some ebrains dataset links are not working atm (see https://github.com/FZJ-INM1-BDA/siibra-python/issues/651)."
87+
)
8488
excludes: List[str] = inc_exc.get("exclude")
8589
for exc in excludes:
8690
assert exc not in feature_names

0 commit comments

Comments
 (0)