def test_resource_name(self):
    license = LicenseFactory(license_code='qwerty', version='2.7', jurisdiction_code='zys')
    self.assertEqual('QWERTY 2.7 ZYS', license.resource_name)
    license = LicenseFactory(license_code='qwerty', version='2.7', jurisdiction_code='')
    self.assertEqual('QWERTY 2.7', license.resource_name)
def test_resource_name(self):
    license = LicenseFactory(license_code='qwerty', version='2.7', jurisdiction_code='zys')
    self.assertEqual('QWERTY 2.7 ZYS', license.resource_name)
    license = LicenseFactory(license_code='qwerty', version='2.7', jurisdiction_code=)
    self.assertEqual('QWERTY 2.7', license.resource_name)