commit | 41f3f8519e6b5b6f91bdb21ecdc94fd70bc7aafc | [log] [tgz] |
---|---|---|
author | Bence Romsics <bence.romsics@ericsson.com> | Mon Jan 11 13:48:23 2016 +0100 |
committer | Bence Romsics <bence.romsics@ericsson.com> | Mon Jan 11 14:05:17 2016 +0100 |
tree | 310f2dc1b6b79f0547f8435665902949a7d15fd5 | |
parent | 5d9df74ab705e2f93e9adb23205997e28450b110 [diff] |
Skip security group tests without secgroup ext Closes-Bug: #1532796 Change-Id: I42d4e70aefb82141118c17b2ccb5d788765ecef5
diff --git a/tempest/scenario/test_security_groups_basic_ops.py b/tempest/scenario/test_security_groups_basic_ops.py index 783b740..b618ab6 100644 --- a/tempest/scenario/test_security_groups_basic_ops.py +++ b/tempest/scenario/test_security_groups_basic_ops.py
@@ -137,6 +137,9 @@ msg = ('Either tenant_networks_reachable must be "true", or ' 'public_network_id must be defined.') raise cls.skipException(msg) + if not test.is_extension_enabled('security-group', 'network'): + msg = "security-group extension not enabled." + raise cls.skipException(msg) @classmethod def setup_credentials(cls):