mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
Linting
This commit is contained in:
parent
c902d08aae
commit
b9022b622c
1 changed files with 2 additions and 6 deletions
|
@ -204,13 +204,9 @@ class TestDomainCache(MockEppLib):
|
||||||
domain, _ = Domain.objects.get_or_create(name="registry.gov")
|
domain, _ = Domain.objects.get_or_create(name="registry.gov")
|
||||||
fakedEpp = self.fakedEppObject()
|
fakedEpp = self.fakedEppObject()
|
||||||
invalid_length = fakedEpp.dummyInfoContactResultData(
|
invalid_length = fakedEpp.dummyInfoContactResultData(
|
||||||
"Cymaticsisasubsetofmodalvibrationalphenomena",
|
"Cymaticsisasubsetofmodalvibrationalphenomena", "lengthInvalid@mail.gov"
|
||||||
"lengthInvalid@mail.gov"
|
|
||||||
)
|
|
||||||
valid_object = fakedEpp.dummyInfoContactResultData(
|
|
||||||
"valid",
|
|
||||||
"valid@mail.gov"
|
|
||||||
)
|
)
|
||||||
|
valid_object = fakedEpp.dummyInfoContactResultData("valid", "valid@mail.gov")
|
||||||
|
|
||||||
desired_error = ContactErrorCodes.CONTACT_ID_INVALID_LENGTH
|
desired_error = ContactErrorCodes.CONTACT_ID_INVALID_LENGTH
|
||||||
with self.assertRaises(ContactError) as context:
|
with self.assertRaises(ContactError) as context:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue