Skip to content

Commit

Permalink
xfail some ebrains tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmetNSimsek committed Mar 7, 2025
1 parent 7c43cbd commit 369502b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/features/test_ebrainsquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,12 @@ def test_species(parc_id, region_id, inc_exc):
features: List[siibra.features._basetypes.Feature] = siibra.features.get(
r, siibra.features.dataset.EbrainsDataFeature
)
feature_names = [f.name for f in features]

try:
feature_names = [f.name for f in features]
except siibra.retrieval.requests.MultiSourceRequestException:
pytest.xfail(
"Some ebrains dataset links are not working atm (see https://github.com/FZJ-INM1-BDA/siibra-python/issues/651)."
)
excludes: List[str] = inc_exc.get("exclude")
for exc in excludes:
assert exc not in feature_names
Expand Down

0 comments on commit 369502b

Please sign in to comment.