You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
348 B
12 lines
348 B
6 years ago
|
"""Test clean"""
|
||
|
|
||
|
|
||
|
def test_clean_command(runner, yadm_y):
|
||
|
"""Run with clean command"""
|
||
|
run = runner(command=yadm_y('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
|