datalad-core/datalad_core/tests/test_utils.py
Michael Hanke e447ee382a
Some checks failed
Ruff / Code linting (push) Failing after 27s
Codespell / Check for spelling errors (push) Successful in 39s
Unit tests (Linux) / check (push) Successful in 1m26s
test: fixtures/tests do not require an existing Git identity setup
2026-01-22 14:15:14 +01:00

12 lines
346 B
Python

from datalad_core.runners import call_git
from datalad_core.tests.utils import modify_dataset
def test_modify_dataset(cfgman, gitrepo): # noqa: ARG001
promise = modify_dataset(gitrepo)
assert promise == call_git(
['status', '-uall', '--porcelain=v1'],
cwd=gitrepo,
capture_output=True,
text=True,
)