Merge pull request #2155 from alphagov/add-org-info-to-branding-requests

Add organisation info to branding requests
This commit is contained in:
Chris Hill-Scott
2018-07-10 16:56:34 +01:00
committed by GitHub
4 changed files with 8 additions and 3 deletions

View File

@@ -2774,6 +2774,7 @@ def test_submit_email_branding_request(
zendesk.assert_called_once_with(
message='\n'.join([
'Organisation: Cant tell (domain is user.gov.uk)',
'Service: service one',
'http://localhost/services/596364a0-858e-42c8-9062-a8fe822260eb',
'',

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")