コード例 #1
0
ファイル: test_git_add.py プロジェクト: tiandee/thefuck
def test_get_new_command(command, new_command):
    assert get_new_command(command, None) == new_command
コード例 #2
0
ファイル: test_git_add.py プロジェクト: tgunr/tryagain
def test_get_new_command(output, script, target, new_command):
    assert get_new_command(Command(script, output)) == new_command
コード例 #3
0
ファイル: test_git_add.py プロジェクト: Clpsplug/thefuck
def test_get_new_command(output, script, target, new_command):
    assert get_new_command(Command(script, output)) == new_command
コード例 #4
0
def test_get_new_command(stderr, script, target, new_command):
    assert get_new_command(Command(script=script,
                                   stderr=stderr)) == new_command
コード例 #5
0
def test_get_new_command(stderr, script, target, new_command):
    assert get_new_command(Command(script=script, stderr=stderr)) == new_command