diff --git a/tests/test_universal_api/test_utils/test_custom_api_keys.py b/tests/test_universal_api/test_utils/test_custom_api_keys.py index 880b586..2cc2a04 100644 --- a/tests/test_universal_api/test_utils/test_custom_api_keys.py +++ b/tests/test_universal_api/test_utils/test_custom_api_keys.py @@ -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