Add organisation info to branding requests

This will let us know which organisation the person asking for the
branding is from. This should reduce how often we have to go back to
them and ask.
This commit is contained in:
Chris Hill-Scott
2018-07-10 16:08:32 +01:00
parent ce9c5ca892
commit 949bf6feea
4 changed files with 8 additions and 3 deletions

View File

@@ -403,7 +403,7 @@ def test_get_valid_agreement_info_unknown_details(domain_or_email_address):
assert government_domain.crown_status is None
assert government_domain.owner is None
assert government_domain.agreement_signed is None
assert government_domain.as_human_readable == 'Cant tell'
assert government_domain.as_human_readable == 'Cant tell (domain is police.gov.uk)'
def test_get_valid_agreement_info_only_org_known():
@@ -442,7 +442,7 @@ def test_get_valid_government_domain_gets_most_specific_first():
assert generic.owner is None
assert generic.agreement_signed is None
assert generic.as_human_readable == (
'Cant tell'
'Cant tell (domain is gov.uk)'
)
specific = AgreementInfo("dacorum.gov.uk")