'Test the ability to iterate over releases on a repository.'

def test_releases(self):

    cassette_name = self.cassette_name('releases')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        for release in repository.releases():
            assert isinstance(release, github3.repos.release.Release)
