diff options
Diffstat (limited to 'test/test_clean.py')
-rw-r--r-- | test/test_clean.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_clean.py b/test/test_clean.py index 9a2221a..39e7e54 100644 --- a/test/test_clean.py +++ b/test/test_clean.py @@ -1,11 +1,11 @@ """Test clean""" -def test_clean_command(runner, yadm_y): +def test_clean_command(runner, yadm_cmd): """Run with clean command""" - run = runner(command=yadm_y('clean')) + run = runner(command=yadm_cmd('clean')) # do nothing, this is a dangerous Git command when managing dot files # report the command as disabled and exit as a failure assert run.failure - assert run.err == '' - assert 'disabled' in run.out + assert run.out == '' + assert 'disabled' in run.err |