diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-10-16 16:32:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-16 16:32:41 +0000 |
commit | 18932f364b3bdc9c3c18cae98e5616b5178db499 (patch) | |
tree | c67b6598ec6c03c0ada5af113bfcd5f02ffde603 /functest/tests/unit | |
parent | 5a5f4fea5727b26a48d1943eacd10440960bc540 (diff) | |
parent | 0d3c30ea25a91f5fb37c49643094e362dcbc286b (diff) |
Merge "Do not create files in site-package directory" into stable/gambia
Diffstat (limited to 'functest/tests/unit')
-rw-r--r-- | functest/tests/unit/openstack/rally/test_rally.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functest/tests/unit/openstack/rally/test_rally.py b/functest/tests/unit/openstack/rally/test_rally.py index 22ddb1cc5..149925730 100644 --- a/functest/tests/unit/openstack/rally/test_rally.py +++ b/functest/tests/unit/openstack/rally/test_rally.py @@ -267,6 +267,9 @@ class OSRallyTesting(unittest.TestCase): self.rally_base.prepare_run() @mock.patch('functest.opnfv_tests.openstack.rally.rally.os.path.exists') + @mock.patch('functest.opnfv_tests.openstack.rally.rally.shutil.copyfile') + @mock.patch('functest.opnfv_tests.openstack.rally.rally.shutil.copytree') + @mock.patch('functest.opnfv_tests.openstack.rally.rally.shutil.rmtree') def test_prepare_run_flavor_alt_creation_failed(self, *args): # pylint: disable=unused-argument self.rally_base.TESTS = ['test1', 'test2'] |