added test cases for place and revert client hold; allowed for idempotent updates

This commit is contained in:
David Kennedy 2023-09-22 18:51:49 -04:00
parent 7d9c6d1d76
commit 6483aa87c9
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
5 changed files with 91 additions and 175 deletions

View file

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