'Test that the user can retrieve all deploy keys.'

def test_keys(self):

    self.basic_login()
    cassette_name = self.cassette_name('keys')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        keys = list(repository.keys())
    assert (len(keys) > 0)
    for key in keys:
        assert isinstance(key, github3.users.Key)
