diff options
Diffstat (limited to 'tests/unittests/helpers.py')
| -rw-r--r-- | tests/unittests/helpers.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/tests/unittests/helpers.py b/tests/unittests/helpers.py index 904677f1..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: @@ -175,6 +176,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: | 
