From 542545468b258de1a26e554d216b71e047a3f45d Mon Sep 17 00:00:00 2001 From: Sandy Walsh Date: Mon, 27 Apr 2015 13:27:40 -0700 Subject: [PATCH] Fix integration test directory setup. Don't assume the directory is already there. Change-Id: I771068027e58ea95e341d79ad3c925e4840ecfaf --- test/integration/test_json_tarball.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/test_json_tarball.py b/test/integration/test_json_tarball.py index 9df7d24..83304ed 100644 --- a/test/integration/test_json_tarball.py +++ b/test/integration/test_json_tarball.py @@ -22,7 +22,7 @@ class TestDirectory(unittest.TestCase): def setUp(self): for d in [TEMPDIR, DESTDIR, EXTRACTDIR]: shutil.rmtree(d, ignore_errors=True) - os.mkdir(d) + os.makedirs(d) def test_size_rolling(self): manager = roll_manager.WritingJSONRollManager(