def test_maximum_length(): name = "a" * 255 trust_domain = TrustDomain('{}'.format(name)) assert trust_domain.name() == name
def test_get_name(): trust_domain = TrustDomain('example.org') assert trust_domain.name() == 'example.org'