Fix lint errors

This commit is contained in:
Erin 2023-11-30 11:24:20 -08:00
parent ba87db7c56
commit 7796452283
No known key found for this signature in database
GPG key ID: 1CAD275313C62460
2 changed files with 5 additions and 3 deletions

View file

@ -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):