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