예제 #1
0
파일: test_sudo.py 프로젝트: 7oi/thefuck
def test_get_new_command():
    assert get_new_command(Command('ls'), None) == 'sudo ls'
예제 #2
0
def test_get_new_command(before, after):
    assert get_new_command(Command(before)) == after
예제 #3
0
def test_get_new_command():
    assert get_new_command(Command('ls'), None) == 'sudo ls'
예제 #4
0
def test_get_new_command(before, after):
    assert get_new_command(Command(before)) == after