Skip to content

Commit

Permalink
Merge pull request #6672 from mih/rf-testupdate
Browse files Browse the repository at this point in the history
Remove with_testrepos from update tests
  • Loading branch information
bpoldrack committed May 10, 2022
2 parents 1a0c85a + d923216 commit 8c661fe
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions datalad/distribution/tests/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,17 @@
from ..dataset import Dataset


# https://github.com/datalad/datalad/pull/3975/checks?check_run_id=369789022#step:8:622
# At least one aspect of the failure is a more general adjusted branch issue.
@known_failure_windows
@slow
@with_testrepos('submodule_annex', flavors=['local']) #TODO: Use all repos after fixing them
@with_tempfile(mkdir=True)
@with_tempfile(mkdir=True)
@with_tempfile(mkdir=True)
def test_update_simple(origin=None, src_path=None, dst_path=None):
ca = dict(result_renderer='disabled')
# a remote dataset with a subdataset underneath
origds = Dataset(origin).create(**ca)
# naming is weird, but a legacy artifact
_ = origds.create('subm 1', **ca)
_ = origds.create('2', **ca)

# prepare src
source = install(src_path, source=origin, recursive=True)
Expand Down

0 comments on commit 8c661fe

Please sign in to comment.