format for linting

This commit is contained in:
David Kennedy 2023-11-25 10:22:34 -05:00
parent 1f4fcf1225
commit 22a21b5bf4
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -897,7 +897,7 @@ class MockEppLib(TestCase):
res_data=[self.mockDataHostChange],
code=ErrorCode.COMMAND_COMPLETED_SUCCESSFULLY,
)
def mockUpdateDomainCommands(self, _request, cleaned):
if getattr(_request, "name", None) == "dnssec-invalid.gov":
raise RegistryError(code=ErrorCode.PARAMETER_VALUE_RANGE_ERROR)