mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-03 02:57:25 +02:00
added test cases for place and revert client hold; allowed for idempotent updates
This commit is contained in:
parent
7d9c6d1d76
commit
6483aa87c9
5 changed files with 91 additions and 175 deletions
|
@ -69,7 +69,7 @@ class RegistryError(Exception):
|
|||
|
||||
def is_session_error(self):
|
||||
return self.code is not None and (self.code >= 2501 and self.code <= 2502)
|
||||
|
||||
|
||||
def is_server_error(self):
|
||||
return self.code is not None and (self.code >= 2400 and self.code <= 2500)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue