Merge "Revert "Update a test to work with Quantum SecGroup""
diff --git a/tempest/api/compute/servers/test_servers_negative.py b/tempest/api/compute/servers/test_servers_negative.py
index bbe489c..5f53080 100644
--- a/tempest/api/compute/servers/test_servers_negative.py
+++ b/tempest/api/compute/servers/test_servers_negative.py
@@ -236,11 +236,7 @@
# Create a server with a nonexistent security group
security_groups = [{'name': 'does_not_exist'}]
- if self.config.network.quantum_available:
- expected_exception = exceptions.NotFound
- else:
- expected_exception = exceptions.BadRequest
- self.assertRaises(expected_exception,
+ self.assertRaises(exceptions.BadRequest,
self.create_server,
security_groups=security_groups)