def test_keypair_delete(self):
        """Test keypair delete command.

        Test steps:
        1) Create keypair in setUp
        2) Delete keypair
        3) Check that keypair not in keypairs list
        """
        self.openstack('keypair delete ' + self.KPName)
        self.assertNotIn(self.KPName, self.keypair_list())
dataset/ETHPy150Open dtroyer/python-openstackclient/functional/tests/compute/v2/test_keypair.py/KeypairTests.test_keypair_delete/original