summaryrefslogtreecommitdiff
path: root/tests/unittests/helpers.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2013-03-08 15:57:05 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2013-03-08 15:57:05 -0800
commit73cba9d1f841020b0ee1304f204923d994dd5363 (patch)
treebd3169edfc958b0ecd0eaf91ea244e51963c2ac4 /tests/unittests/helpers.py
parent973747b00af47c94ba0a719452aa823fb688e5ab (diff)
downloadvyos-cloud-init-73cba9d1f841020b0ee1304f204923d994dd5363.tar.gz
vyos-cloud-init-73cba9d1f841020b0ee1304f204923d994dd5363.zip
Enable the merging.txt to be in .rst format for public viewing
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 904677f1..e020a3ec 100644
--- a/tests/unittests/helpers.py
+++ b/tests/unittests/helpers.py
@@ -175,6 +175,7 @@ class FilesystemMockingTestCase(ResourceUsingTestCase):
def patchOS(self, new_root):
patch_funcs = {
os.path: ['isfile', 'exists', 'islink', 'isdir'],
+ os: ['listdir'],
}
for (mod, funcs) in patch_funcs.items():
for f in funcs: