示例#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