diff options
-rw-r--r-- | docker/smoke/testcases.yaml | 4 | ||||
-rw-r--r-- | functest/ci/testcases.yaml | 4 | ||||
-rw-r--r-- | functest/opnfv_tests/openstack/patrole/patrole.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml index b59af41a7..f364bdef1 100644 --- a/docker/smoke/testcases.yaml +++ b/docker/smoke/testcases.yaml @@ -61,10 +61,10 @@ tiers: class: 'Patrole' args: role: 'admin' - services: + includes: - 'image' - 'network' - exclude: + excludes: - 'test_networks_multiprovider_rbac' - diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml index a9e023e4c..1d3540603 100644 --- a/functest/ci/testcases.yaml +++ b/functest/ci/testcases.yaml @@ -252,10 +252,10 @@ tiers: class: 'Patrole' args: role: 'admin' - services: + includes: - 'image' - 'network' - exclude: + excludes: - 'test_networks_multiprovider_rbac' - diff --git a/functest/opnfv_tests/openstack/patrole/patrole.py b/functest/opnfv_tests/openstack/patrole/patrole.py index efc513cdb..45378b6cd 100644 --- a/functest/opnfv_tests/openstack/patrole/patrole.py +++ b/functest/opnfv_tests/openstack/patrole/patrole.py @@ -32,9 +32,9 @@ class Patrole(tempest.TempestCommon): self.backup_tempest_config(self.conf_file, self.res_dir) def run(self, **kwargs): - for exclude in kwargs.get('exclude', []): + for exclude in kwargs.get('excludes', []): kwargs['mode'] = "{}(?!.*{})".format( kwargs.get('mode', ''), exclude) kwargs['mode'] = '{}(?=patrole_tempest_plugin.tests.api.({}))'.format( - kwargs['mode'], '|'.join(kwargs.get('services', []))) + kwargs['mode'], '|'.join(kwargs.get('includes', []))) return super(Patrole, self).run(**kwargs) |