def test_keypair_delete_not_existing(self):
        self.assertRaises(exceptions.CommandFailed,
                          self.openstack, 'keypair delete not_existing')
Try to delete keypair with not existing name.
dataset/ETHPy150Open dtroyer/python-openstackclient/functional/tests/compute/v2/test_keypair.py/KeypairTests.test_keypair_delete_not_existing