forked from datalad/datalad-core
This is a more flexible and more robust variant of the datalad-next fixture `modified_dataset`, split into a test helper and the actual fixture. Unlike the datalad-next version, it does not require any datalad commands to work, just plain Git.
6 lines
307 B
Python
6 lines
307 B
Python
def test_modified_dataset_fixture(modified_dataset):
|
|
assert modified_dataset
|
|
# the test is to do nothing.
|
|
# the dataset modification will be done, the promised capture
|
|
# before the test starts. the test will then do nothing, and
|
|
# the promise is reevaluated at the end and must succeed.
|