summaryrefslogtreecommitdiff
path: root/morphlib
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib')
-rw-r--r--morphlib/stagingarea_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/stagingarea_tests.py b/morphlib/stagingarea_tests.py
index 35174f3b..7cd4a5c3 100644
--- a/morphlib/stagingarea_tests.py
+++ b/morphlib/stagingarea_tests.py
@@ -46,6 +46,10 @@ class FakeApplication(object):
'cachedir': cachedir,
'tempdir': tempdir,
}
+ for leaf in ('chunks',):
+ d = os.path.join(tempdir, leaf)
+ if not os.path.exists(d):
+ os.makedirs(d)
def runcmd(self, *args, **kwargs):
return cliapp.runcmd(*args, **kwargs)