'Test the ability to retrieve the latest release.'

def test_latest_release(self):

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