summaryrefslogtreecommitdiff
path: root/tests/unittests/helpers.py
diff options
context:
space:
mode:
authorVlastimil Holer <vlastimil.holer@gmail.com>2013-09-04 14:32:24 +0200
committerVlastimil Holer <vlastimil.holer@gmail.com>2013-09-04 14:32:24 +0200
commit77c8798388637fcb2f7dbc057cad81e8fd5fbe58 (patch)
tree52ebf360fec192392042be7abfbf70d659a41b10 /tests/unittests/helpers.py
parent1d35141960f2c0183d3f306d4604011ca9d5d2e8 (diff)
downloadvyos-cloud-init-77c8798388637fcb2f7dbc057cad81e8fd5fbe58.tar.gz
vyos-cloud-init-77c8798388637fcb2f7dbc057cad81e8fd5fbe58.zip
Apply parse.diff by Javier Fontan <jfontan@opennebula.org>
Diffstat (limited to 'tests/unittests/helpers.py')
-rw-r--r--tests/unittests/helpers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/helpers.py b/tests/unittests/helpers.py
index 91a50e18..904677f1 100644
--- a/tests/unittests/helpers.py
+++ b/tests/unittests/helpers.py
@@ -183,6 +183,7 @@ class FilesystemMockingTestCase(ResourceUsingTestCase):
setattr(mod, f, trap_func)
self.patched_funcs.append((mod, f, func))
+
def populate_dir(path, files):
os.makedirs(path)
for (name, content) in files.iteritems():