mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +02:00
Update test_models_domain.py
This commit is contained in:
parent
94a8bf7793
commit
d5b47a22df
1 changed files with 26 additions and 24 deletions
|
@ -827,10 +827,11 @@ class TestRegistrantContacts(MockEppLib):
|
||||||
|
|
||||||
# Separated for linter
|
# Separated for linter
|
||||||
disclose_email_field = {common.DiscloseField.EMAIL}
|
disclose_email_field = {common.DiscloseField.EMAIL}
|
||||||
disclose = common.Disclose(flag=True, fields=disclose_email_field, types=None),
|
|
||||||
expected_disclose = {
|
expected_disclose = {
|
||||||
"auth_info": common.ContactAuthInfo(pw='2fooBAR123fooBaz'),
|
"auth_info": common.ContactAuthInfo(pw="2fooBAR123fooBaz"),
|
||||||
"disclose": disclose,
|
"disclose": common.Disclose(
|
||||||
|
flag=True, fields=disclose_email_field, types=None
|
||||||
|
),
|
||||||
"email": "dotgov@cisa.dhs.gov",
|
"email": "dotgov@cisa.dhs.gov",
|
||||||
"extensions": [],
|
"extensions": [],
|
||||||
"fax": None,
|
"fax": None,
|
||||||
|
@ -838,26 +839,27 @@ class TestRegistrantContacts(MockEppLib):
|
||||||
"ident": None,
|
"ident": None,
|
||||||
"notify_email": None,
|
"notify_email": None,
|
||||||
"postal_info": common.PostalInfo(
|
"postal_info": common.PostalInfo(
|
||||||
name='Registry Customer Service',
|
name="Registry Customer Service",
|
||||||
addr=common.ContactAddr(
|
addr=common.ContactAddr(
|
||||||
street=['4200 Wilson Blvd.', None, None],
|
street=["4200 Wilson Blvd.", None, None],
|
||||||
city='Arlington',
|
city="Arlington",
|
||||||
pc='22201',
|
pc="22201",
|
||||||
cc='US',
|
cc="US",
|
||||||
sp='VA'
|
sp="VA",
|
||||||
),
|
),
|
||||||
org='Cybersecurity and Infrastructure Security Agency',
|
org="Cybersecurity and Infrastructure Security Agency",
|
||||||
type='loc'
|
type="loc",
|
||||||
),
|
),
|
||||||
"vat": None,
|
"vat": None,
|
||||||
"voice": "+1.8882820870"
|
"voice": "+1.8882820870",
|
||||||
}
|
}
|
||||||
|
|
||||||
# Separated for linter
|
# Separated for linter
|
||||||
not_disclose = common.Disclose(flag=False, fields=disclose_email_field, types=None)
|
|
||||||
expected_not_disclose = {
|
expected_not_disclose = {
|
||||||
"auth_info": common.ContactAuthInfo(pw='2fooBAR123fooBaz'),
|
"auth_info": common.ContactAuthInfo(pw="2fooBAR123fooBaz"),
|
||||||
"disclose": not_disclose,
|
"disclose": common.Disclose(
|
||||||
|
flag=False, fields=disclose_email_field, types=None
|
||||||
|
),
|
||||||
"email": "dotgov@cisa.dhs.gov",
|
"email": "dotgov@cisa.dhs.gov",
|
||||||
"extensions": [],
|
"extensions": [],
|
||||||
"fax": None,
|
"fax": None,
|
||||||
|
@ -865,19 +867,19 @@ class TestRegistrantContacts(MockEppLib):
|
||||||
"ident": None,
|
"ident": None,
|
||||||
"notify_email": None,
|
"notify_email": None,
|
||||||
"postal_info": common.PostalInfo(
|
"postal_info": common.PostalInfo(
|
||||||
name='Registry Customer Service',
|
name="Registry Customer Service",
|
||||||
addr=common.ContactAddr(
|
addr=common.ContactAddr(
|
||||||
street=['4200 Wilson Blvd.', None, None],
|
street=["4200 Wilson Blvd.", None, None],
|
||||||
city='Arlington',
|
city="Arlington",
|
||||||
pc='22201',
|
pc="22201",
|
||||||
cc='US',
|
cc="US",
|
||||||
sp='VA'
|
sp="VA",
|
||||||
),
|
),
|
||||||
org='Cybersecurity and Infrastructure Security Agency',
|
org="Cybersecurity and Infrastructure Security Agency",
|
||||||
type='loc'
|
type="loc",
|
||||||
),
|
),
|
||||||
"vat": None,
|
"vat": None,
|
||||||
"voice": "+1.8882820870"
|
"voice": "+1.8882820870",
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set the ids equal, since this value changes
|
# Set the ids equal, since this value changes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue