diff options
| author | Vlastimil Holer <vlastimil.holer@gmail.com> | 2013-09-04 14:32:24 +0200 |
|---|---|---|
| committer | Vlastimil Holer <vlastimil.holer@gmail.com> | 2013-09-04 14:32:24 +0200 |
| commit | 77c8798388637fcb2f7dbc057cad81e8fd5fbe58 (patch) | |
| tree | 52ebf360fec192392042be7abfbf70d659a41b10 /tests/unittests/helpers.py | |
| parent | 1d35141960f2c0183d3f306d4604011ca9d5d2e8 (diff) | |
| download | vyos-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.py | 1 |
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(): |
