diff options
author | Juerg Haefliger <juergh@gmail.com> | 2013-07-17 15:46:58 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-07-17 15:46:58 -0400 |
commit | 1edfb2a7a36a2bdddfe0ca48ba5d23721bf17a35 (patch) | |
tree | 8bfb54ecf85b55b663f9b182789141df59cc0446 /tests/unittests/helpers.py | |
parent | 8f70bb7e7144f2225b4e9a589d16ae6d15992a3d (diff) | |
parent | 67162bca0c49d415f92aefa22972fd3ffe179da6 (diff) | |
download | vyos-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.py | 3 |
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: |