def test_logos(self):
    self.assertIn('cc-logo', LicenseFactory().logos())
    self.assertEqual(['cc-logo', 'cc-zero'], LicenseFactory(license_code='CC0').logos())
    self.assertEqual(['cc-logo', 'cc-by'], LicenseFactory(license_code='by', version='4.0', prohibits_commercial_use=False, requires_share_alike=False, permits_derivative_works=True).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-nc'], LicenseFactory(license_code='by-nc', version='3.0', prohibits_commercial_use=True, requires_share_alike=False, permits_derivative_works=True).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-nd'], LicenseFactory(license_code='by-nd', version='4.0', prohibits_commercial_use=False, requires_share_alike=False, permits_derivative_works=False).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-sa'], LicenseFactory(license_code='by-sa', version='4.0', prohibits_commercial_use=False, requires_share_alike=True, permits_derivative_works=True).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-nc', 'cc-sa'], LicenseFactory(license_code='by-nc-sa', version='4.0', prohibits_commercial_use=True, requires_share_alike=True, permits_derivative_works=True).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-nc', 'cc-sa'], LicenseFactory(license_code='by-nc-sa', version='3.0', prohibits_commercial_use=True, requires_share_alike=True, permits_derivative_works=True).logos())
def test_logos(self):
    self.assertIn('cc-logo', LicenseFactory().logos())
    self.assertEqual(['cc-logo', 'cc-zero'], LicenseFactory(license_code='CC0').logos())
    self.assertEqual(['cc-logo', 'cc-by'], LicenseFactory(license_code='by', version='4.0', prohibits_commercial_use=False, requires_share_alike=False, permits_derivative_works=True).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-nc'], LicenseFactory(license_code='by-nc', version='3.0', prohibits_commercial_use=True, requires_share_alike=False, permits_derivative_works=True).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-nd'], LicenseFactory(license_code='by-nd', version='4.0', prohibits_commercial_use=False, requires_share_alike=False, permits_derivative_works=False).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-sa'], LicenseFactory(license_code='by-sa', version='4.0', prohibits_commercial_use=False, requires_share_alike=True, permits_derivative_works=True).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-nc', 'cc-sa'], LicenseFactory(license_code='by-nc-sa', version='4.0', prohibits_commercial_use=True, requires_share_alike=True, permits_derivative_works=True).logos())
    self.assertEqual(['cc-logo', 'cc-by', 'cc-nc', 'cc-sa'], LicenseFactory(license_code='by-nc-sa', version='3.0', prohibits_commercial_use=True, requires_share_alike=True, permits_derivative_works=True).logos())