Skip to content

Commit 61e28e0

Browse files
authored
Merge pull request #1512 from dandi/rf-test-xfails
Add xfail marks for some tests: test_nwb2asset_remote_asset, test_reextract_metadata, test_IteratorWithAggregation
2 parents 1c89d42 + 01980d5 commit 61e28e0

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

dandi/cli/tests/test_service_scripts.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
DATA_DIR = Path(__file__).with_name("data")
2222

2323

24+
@pytest.mark.xfail(
25+
"nfsmount" in os.environ.get("TMPDIR", ""),
26+
reason="https://github.com/dandi/dandi-cli/issues/1507",
27+
)
2428
def test_reextract_metadata(
2529
monkeypatch: pytest.MonkeyPatch, nwb_dandiset: SampleDandiset
2630
) -> None:

dandi/support/tests/test_iterators.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import pytest
44

5+
from dandi.utils import on_windows
6+
57
from ..iterators import IteratorWithAggregation
68

79

@@ -31,6 +33,7 @@ def sleeping_range(n, secs=0.01, thr=None):
3133
raise ValueError(i)
3234

3335

36+
@pytest.mark.xfail(on_windows, reason="https://github.com/dandi/dandi-cli/issues/1510")
3437
def test_IteratorWithAggregation():
3538
def sumup(v, t=0):
3639
return v + t

dandi/tests/test_metadata.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,7 @@ def test_nwb2asset(simple2_nwb: Path) -> None:
883883
)
884884

885885

886+
@pytest.mark.xfail(reason="https://github.com/dandi/dandi-cli/issues/1450")
886887
def test_nwb2asset_remote_asset(nwb_dandiset: SampleDandiset) -> None:
887888
pytest.importorskip("fsspec")
888889
asset = nwb_dandiset.dandiset.get_asset_by_path("sub-mouse001/sub-mouse001.nwb")

0 commit comments

Comments
 (0)