62b109ad2d
-Y is no longer used when running commands
11 lines
352 B
Python
11 lines
352 B
Python
"""Test clean"""
|
|
|
|
|
|
def test_clean_command(runner, yadm_cmd):
|
|
"""Run with clean command"""
|
|
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
|