'Test the ability to retrieve open source licenses.'

def test_licenses(self):

    cassette_name = self.cassette_name('licenses')
    with self.recorder.use_cassette(cassette_name):
        licenses = list(self.gh.licenses())
        assert (len(licenses) > 0)
        license = licenses[0]
        assert isinstance(license, github3.licenses.License)
