This commit is contained in:
zandercymatics 2024-04-15 15:23:16 -06:00
parent cb5e9e43ea
commit 2aff68216d
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 7 additions and 6 deletions

View file

@ -175,11 +175,11 @@ class Domain(TimeStampedModel, DomainHelper):
cls.READY: "This domain has name servers and is ready for use.", cls.READY: "This domain has name servers and is ready for use.",
cls.ON_HOLD: ( cls.ON_HOLD: (
"While on hold, this domain won't resolve in DNS and " "While on hold, this domain won't resolve in DNS and "
"any infrastructure (like websites) will be offline.", "any infrastructure (like websites) will be offline."
), ),
cls.DELETED: ( cls.DELETED: (
"This domain was permanently removed from the registry. " "This domain was permanently removed from the registry. "
"The domain no longer resolves in DNS and any infrastructure (like websites) is offline.", "The domain no longer resolves in DNS and any infrastructure (like websites) is offline."
), ),
} }

View file

@ -154,7 +154,7 @@ class CreateOrUpdateOrganizationTypeHelper:
# There is no avenue for this to occur in the UI, # There is no avenue for this to occur in the UI,
# as such - this can only occur if the object is initialized in this way. # as such - this can only occur if the object is initialized in this way.
# Or if there are pre-existing data. # Or if there are pre-existing data.
logger.warning( logger.debug(
"create_or_update_organization_type() -> is_election_board " "create_or_update_organization_type() -> is_election_board "
f"cannot exist for {generic_org_type}. Setting to None." f"cannot exist for {generic_org_type}. Setting to None."
) )

View file

@ -132,15 +132,16 @@ class TestDomainAdmin(MockEppLib, WebTest):
'The state will switch to "DNS needed" after they access the domain in the registrar.' 'The state will switch to "DNS needed" after they access the domain in the registrar.'
) )
expected_dns_message = ( expected_dns_message = (
"Before this domain can be used, name server addresses need " "to be added within the registrar." "Before this domain can be used, name server addresses need "
"to be added within the registrar."
) )
expected_hold_message = ( expected_hold_message = (
"While on hold, this domain won't resolve in DNS and " "While on hold, this domain won't resolve in DNS and "
"any infrastructure (like websites) will be offline.", "any infrastructure (like websites) will be offline."
) )
expected_deleted_message = ( expected_deleted_message = (
"This domain was permanently removed from the registry. " "This domain was permanently removed from the registry. "
"The domain no longer resolves in DNS and any infrastructure (like websites) is offline.", "The domain no longer resolves in DNS and any infrastructure (like websites) is offline."
) )
expected_messages = [ expected_messages = [
(self.ready_domain, "This domain has name servers and is ready for use."), (self.ready_domain, "This domain has name servers and is ready for use."),