'Test that a repository\'s license can be retrieved.'

def test_license(self):

    cassette_name = self.cassette_name('license')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        license = repository.license()
        assert isinstance(license, github3.licenses.License)
