<s> import uuid <EOL> from openstack_dashboard . test . integration_tests import helpers <EOL> class TestKeypair ( helpers . TestCase ) : <EOL> """<STR_LIT>""" <EOL> KEYPAIR_NAME = '<STR_LIT>' + str ( uuid . uuid4 ( ) ) <EOL> def test_keypair ( self ) : <EOL> keypair_page = self . home_pg . go_to_accessandsecurity_keypairspage ( ) <EOL> keypair_page . create_keypair ( self . KEYPAIR_NAME ) <EOL> keypair_page = self . home_pg . go_to_accessandsecurity_keypairspage ( ) <EOL> self . assertTrue ( keypair_page . is_keypair_present ( self . KEYPAIR_NAME ) ) <EOL> keypair_page . delete_keypair ( self . KEYPAIR_NAME ) <EOL> self . assertFalse ( keypair_page . is_keypair_present ( self . KEYPAIR_NAME ) ) </s>
