'Test the ability to retrieve the references from a repository.'

def test_refs(self):

    cassette_name = self.cassette_name('refs')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        references = list(repository.refs())
    assert (len(references) > 0)
    for ref in references:
        assert isinstance(ref, github3.git.Reference)
