Remove skip decorator from keypairs tests
This removes skips from:
- test_get_keypair_detail (bug 980688 which is invalid and currently
works fine)
- test_keypair_delete_nonexistant_key (bug 1086980)
Also removes an unused import.
Depends on change: I7e822c0661c563db01040ae2d57aacfe677d72b0
Change-Id: Id536c484753e219588b030d4fef9753f0e421b35
diff --git a/tempest/tests/compute/keypairs/test_keypairs.py b/tempest/tests/compute/keypairs/test_keypairs.py
index b48b439..87c71aa 100644
--- a/tempest/tests/compute/keypairs/test_keypairs.py
+++ b/tempest/tests/compute/keypairs/test_keypairs.py
@@ -15,8 +15,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import testtools
-
from tempest.common.utils.data_utils import rand_name
from tempest import exceptions
from tempest.test import attr
@@ -82,7 +80,6 @@
self.assertEqual(202, resp.status)
@attr(type='positive')
- @testtools.skip("Skipped until the Bug #980688 is resolved")
def test_get_keypair_detail(self):
# Keypair should be created, Got details by name and deleted
k_name = rand_name('keypair-')
@@ -138,7 +135,6 @@
self.client.create_keypair, k_name, pub_key)
@attr(type='negative')
- @testtools.skip("Skipped until the Bug #1086980 is resolved")
def test_keypair_delete_nonexistant_key(self):
# Non-existant key deletion should throw a proper error
k_name = rand_name("keypair-non-existant-")