mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-21 03:49:22 +02:00
Fix lint errors
This commit is contained in:
parent
ba87db7c56
commit
7796452283
2 changed files with 5 additions and 3 deletions
|
@ -116,8 +116,11 @@ class AvailableViewTest(MockEppLib):
|
|||
# domain set to raise error returns false for availability and error message
|
||||
error_domain_response = available(request, domain="errordomain.gov")
|
||||
self.assertFalse(json.loads(error_domain_response.content)["available"])
|
||||
self.assertEqual(GenericError._error_mapping[GenericErrorCodes.CANNOT_CONTACT_REGISTRY],
|
||||
json.loads(error_domain_response.content)["message"])
|
||||
self.assertEqual(
|
||||
GenericError._error_mapping[GenericErrorCodes.CANNOT_CONTACT_REGISTRY],
|
||||
json.loads(error_domain_response.content)["message"],
|
||||
)
|
||||
|
||||
|
||||
class AvailableAPITest(MockEppLib):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue