'Test the retrieval of a single key.'

def test_key(self):

    self.basic_login()
    cassette_name = self.cassette_name('key')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        key = repository.key(8820641)
    assert isinstance(key, github3.users.Key)
