Skip more security group tests until bug 1182384 is fixed
This patch builds on change I3f0d21c23661f556354c321476ba559d4925dccd
which skipped a couple of tests that are failing in nova if neutron is
configured. The previous patch missed a couple of other tests that fail
for the same bug. This patch skips those other failing tests for the
same bug.
Related-Bug: #1182384
Change-Id: I4f191f21232f9e58ad09456261fb6247d64f22b5
diff --git a/tempest/api/compute/security_groups/test_security_groups.py b/tempest/api/compute/security_groups/test_security_groups.py
index 697a839..5f8606e 100644
--- a/tempest/api/compute/security_groups/test_security_groups.py
+++ b/tempest/api/compute/security_groups/test_security_groups.py
@@ -107,6 +107,8 @@
"The fetched Security Group is different "
"from the created Group")
+ @testtools.skipIf(config.TempestConfig().service_available.neutron,
+ "Skipped until the Bug #1182384 is resolved")
@attr(type=['negative', 'gate'])
def test_security_group_get_nonexistant_group(self):
# Negative test:Should not be able to GET the details
@@ -191,6 +193,8 @@
self.client.delete_security_group,
default_security_group_id)
+ @testtools.skipIf(config.TempestConfig().service_available.neutron,
+ "Skipped until the Bug #1182384 is resolved")
@attr(type=['negative', 'gate'])
def test_delete_nonexistant_security_group(self):
# Negative test:Deletion of a nonexistant Security Group should Fail