'Test the ability to retrieve a repository\'s tags.'

def test_tags(self):

    cassette_name = self.cassette_name('tags')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'betamax')
        assert (repository is not None)
        tags = list(repository.tags())
    assert (len(tags) > 0)
    for tag in tags:
        assert isinstance(tag, github3.repos.tag.RepoTag)
