fixed tests and linter

This commit is contained in:
Alysia Broddrick 2023-09-12 21:48:27 -07:00
parent 4292c38b47
commit 29b8c72911
No known key found for this signature in database
GPG key ID: 03917052CD0F06B7
8 changed files with 168 additions and 154 deletions

View file

@ -274,7 +274,7 @@ class DomainAdmin(ListHeaderAdmin):
def do_remove_client_hold(self, request, obj):
try:
obj.revertClientHold()
obj.revert_client_hold()
obj.save()
except Exception as err:
self.message_user(request, err, messages.ERROR)