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