Fix integration test directory setup.

Don't assume the directory is already there.

Change-Id: I771068027e58ea95e341d79ad3c925e4840ecfaf
This commit is contained in:
Sandy Walsh 2015-04-27 13:27:40 -07:00
parent 8fc4b88519
commit 542545468b

View File

@ -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(