In the old code base this was done with a populate_dataset helper from datalad.distributed.tests.ria_utils. This helper placed a fixed payload in a dataset that had to exist before:
datalad-next already provides the fixture existing_dataset, which could be used as a dependency for a dedicated fixture (function scope) that populates it with some standard content.
In the old code base this was done with a
populate_dataset
helper fromdatalad.distributed.tests.ria_utils
. This helper placed a fixed payload in a dataset that had to exist before:datalad-next
already provides the fixtureexisting_dataset
, which could be used as a dependency for a dedicated fixture (function scope) that populates it with some standard content.