Ejemplo n.º 1
0
def test_get_new_command(script, new_command, output):
    assert get_new_command(Command(script, output)) == new_command
Ejemplo n.º 2
0
def test_get_new_command(script, new_command, stderr):
    assert get_new_command(Command(script, stderr=stderr)) == new_command
Ejemplo n.º 3
0
def test_get_new_command(command, new_command):
    assert get_new_command(command, None) == new_command
Ejemplo n.º 4
0
def test_get_new_command(command, new_command):
    assert get_new_command(command) == new_command
Ejemplo n.º 5
0
def test_get_new_command(script, new_command, stderr):
    assert get_new_command(Command(script, stderr=stderr)) == new_command