Esempio n. 1
0
def test_get_new_command_mocked(subp_mock, command, new_command, return_value):
    subp_mock.check_output.return_value = return_value
    assert get_new_command(command) == new_command
Esempio n. 2
0
def test_get_new_command_mocked(subp_mock, command, new_command, return_value):
    subp_mock.check_output.return_value = return_value
    assert get_new_command(command) == new_command
Esempio n. 3
0
def test_get_new_command(command, new_command, mocker):
    assert get_new_command(command) == new_command
Esempio n. 4
0
def test_get_new_command(command, new_command, mocker):
    assert get_new_command(command) == new_command