Example #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
Example #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
Example #3
0
def test_get_new_command(command, fixed):
    assert get_new_command(command) == fixed
Example #4
0
def test_get_new_command(command, fixed):
    assert get_new_command(command, None) == fixed