Skip to content

Commit

Permalink
small bug fix to handler to test_custom_api_keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
djl11 committed Nov 7, 2024
1 parent 1ad8ddf commit 358db18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_universal_api/test_utils/test_custom_api_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def _handle(self):
# should if other keys have wrongly been created
try:
custom_keys = unify.list_custom_api_keys()
for name, val in custom_keys:
unify.delete_custom_api_key(name)
for dct in custom_keys:
unify.delete_custom_api_key(dct["name"])
except:
pass

Expand Down

0 comments on commit 358db18

Please sign in to comment.