mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-28 13:36:30 +02:00
Clean up
This commit is contained in:
parent
cb5e9e43ea
commit
2aff68216d
3 changed files with 7 additions and 6 deletions
|
@ -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."
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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."
|
||||||
)
|
)
|
||||||
|
|
|
@ -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."),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue