def test_str(self):
    LegalCodeFactory()
    legal_code = LegalCode.objects.first()
    self.assertEqual(str(legal_code), f'LegalCode<{legal_code.language_code}, {str(legal_code.license)}>')
def test_str(self):
    LegalCodeFactory()
    legal_code = LegalCode.objects.first()
    self.assertEqual(str(legal_code), f'LegalCode<{legal_code.language_code}, {str(legal_code.license)}>')