summaryrefslogtreecommitdiff
path: root/tempest/api/compute/keypairs/test_keypairs_negative.py
diff options
context:
space:
mode:
Diffstat (limited to 'tempest/api/compute/keypairs/test_keypairs_negative.py')
-rw-r--r--tempest/api/compute/keypairs/test_keypairs_negative.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tempest/api/compute/keypairs/test_keypairs_negative.py b/tempest/api/compute/keypairs/test_keypairs_negative.py
index a91a9c261..0da449b64 100644
--- a/tempest/api/compute/keypairs/test_keypairs_negative.py
+++ b/tempest/api/compute/keypairs/test_keypairs_negative.py
@@ -23,8 +23,8 @@ from tempest import test
class KeyPairsNegativeTestJSON(base.BaseV2ComputeTest):
@classmethod
- def setUpClass(cls):
- super(KeyPairsNegativeTestJSON, cls).setUpClass()
+ def resource_setup(cls):
+ super(KeyPairsNegativeTestJSON, cls).resource_setup()
cls.client = cls.keypairs_client
def _create_keypair(self, keypair_name, pub_key=None):