From 358db18be61ef2b9a1cd7867abb48969d552b4d9 Mon Sep 17 00:00:00 2001 From: Daniel Lenton Date: Thu, 7 Nov 2024 20:35:17 +0000 Subject: [PATCH] small bug fix to handler to test_custom_api_keys. --- tests/test_universal_api/test_utils/test_custom_api_keys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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