This commit is contained in:
Anthony Sottile 2014-04-13 15:47:27 -07:00
parent 105b832585
commit 681ddf99b7

View file

@ -64,11 +64,7 @@ def test_run_substitutes_prefix(popen_mock, makedirs_mock):
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
) )
assert ret == ( assert ret == (popen_mock.return_value.returncode, 'stdout', 'stderr')
popen_mock.return_value.returncode,
popen_mock.return_value.communicate.return_value[0],
popen_mock.return_value.communicate.return_value[1],
)
PATH_TESTS = ( PATH_TESTS = (