diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-11 11:35:33 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-11 13:49:43 +0200 |
commit | 8c5703e4e2382f7091aa7f8008d65ce68fa0bf56 (patch) | |
tree | 799991d7a6761b84dbbeef4a617fcd05d17ffa6e /functest/tests/unit | |
parent | 4f89564b20e9c3462614706a616d469540631786 (diff) |
Update rally image name regex
The default value doesn't conform with our image names.
Else it downloads the image from internet which may be not possible
(offline testing, proxy or deployment l3 issues [1])
[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-virtual-suite-master/113/console
Change-Id: I7d951967784d591e7155fe8582299aaa9b680b10
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/tests/unit')
-rw-r--r-- | functest/tests/unit/openstack/tempest/test_tempest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/tests/unit/openstack/tempest/test_tempest.py b/functest/tests/unit/openstack/tempest/test_tempest.py index 14ba9f75f..3dd05abb6 100644 --- a/functest/tests/unit/openstack/tempest/test_tempest.py +++ b/functest/tests/unit/openstack/tempest/test_tempest.py @@ -249,7 +249,8 @@ class OSTempestTesting(unittest.TestCase): self._test_run(testcase.TestCase.EX_RUN_ERROR) def test_run(self): - with mock.patch.object(self.tempestcommon, 'generate_test_list'), \ + with mock.patch.object(self.tempestcommon, 'update_rally_regex'), \ + mock.patch.object(self.tempestcommon, 'generate_test_list'), \ mock.patch.object(self.tempestcommon, 'apply_tempest_blacklist'), \ mock.patch.object(self.tempestcommon, 'run_verifier_tests'), \ |