Fix prefixed_command_runner_test to not create real directories.

This commit is contained in:
Anthony Sottile 2014-03-30 14:01:07 -07:00
parent 288d32d226
commit 32d2807554
3 changed files with 6 additions and 1 deletions

View file

@ -107,6 +107,7 @@ def test_from_command_runner_preserves_popen(popen_mock, makedirs_mock):
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)
makedirs_mock.assert_called_once_with('foo/bar/')
def test_create_path_if_not_exists(tmpdir):