summaryrefslogtreecommitdiff
path: root/tests/unittests/helpers.py
diff options
context:
space:
mode:
authorJuerg Haefliger <juergh@gmail.com>2013-07-17 15:46:58 -0400
committerScott Moser <smoser@ubuntu.com>2013-07-17 15:46:58 -0400
commit1edfb2a7a36a2bdddfe0ca48ba5d23721bf17a35 (patch)
tree8bfb54ecf85b55b663f9b182789141df59cc0446 /tests/unittests/helpers.py
parent8f70bb7e7144f2225b4e9a589d16ae6d15992a3d (diff)
parent67162bca0c49d415f92aefa22972fd3ffe179da6 (diff)
downloadvyos-cloud-init-1edfb2a7a36a2bdddfe0ca48ba5d23721bf17a35.tar.gz
vyos-cloud-init-1edfb2a7a36a2bdddfe0ca48ba5d23721bf17a35.zip
adds support for SLES plus some basic unittests.
Some code from the RHEL handler was moved to a new file so that it can be used by the SLES handler.
Diffstat (limited to 'tests/unittests/helpers.py')
-rw-r--r--tests/unittests/helpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/helpers.py b/tests/unittests/helpers.py
index e020a3ec..c0da0983 100644
--- a/tests/unittests/helpers.py
+++ b/tests/unittests/helpers.py
@@ -146,7 +146,8 @@ class FilesystemMockingTestCase(ResourceUsingTestCase):
('chmod', 1),
('delete_dir_contents', 1),
('del_file', 1),
- ('sym_link', -1)],
+ ('sym_link', -1),
+ ('copy', -1)],
}
for (mod, funcs) in patch_funcs.items():
for (f, am) in funcs: