

def test_keypair_show(self):
    'Test keypair show command.\n\n        Test steps:\n        1) Create keypair in setUp\n        2) Show keypair\n        3) Check output table structure\n        4) Check keypair name in output\n        '
    HEADERS = ['Field', 'Value']
    raw_output = self.openstack(('keypair show ' + self.KPName))
    items = self.parse_listing(raw_output)
    self.assert_table_structure(items, HEADERS)
    self.assertInOutput(self.KPName, raw_output)

dataset/ETHPy150Open dtroyer/python-openstackclient/functional/tests/compute/v2/test_keypair.py KeypairTests.test_keypair_show/original