'Test the ability to create a key and delete it.'

def test_create_key(self):

    self.basic_login()
    cassette_name = self.cassette_name('create_delete_key')
    with self.recorder.use_cassette(cassette_name):
        k = self.gh.create_key('Key    name', SSH_KEY)
        k.delete()
    assert isinstance(k, github3.users.Key)
    assert (k.title == 'Key    name')
    assert (k.key == SSH_KEY)
