mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 10:46:06 +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")
|
||||
fakedEpp = self.fakedEppObject()
|
||||
invalid_length = fakedEpp.dummyInfoContactResultData(
|
||||
"Cymaticsisasubsetofmodalvibrationalphenomena",
|
||||
"lengthInvalid@mail.gov"
|
||||
)
|
||||
valid_object = fakedEpp.dummyInfoContactResultData(
|
||||
"valid",
|
||||
"valid@mail.gov"
|
||||
"Cymaticsisasubsetofmodalvibrationalphenomena", "lengthInvalid@mail.gov"
|
||||
)
|
||||
valid_object = fakedEpp.dummyInfoContactResultData("valid", "valid@mail.gov")
|
||||
|
||||
desired_error = ContactErrorCodes.CONTACT_ID_INVALID_LENGTH
|
||||
with self.assertRaises(ContactError) as context:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue