From 686f331ab478197d8ecad1cd58aca40ee31a7bcf Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 1 Aug 2024 09:29:08 +0200 Subject: [PATCH] use sync client in test_objects async client cannot be instantiated outside asyncio loop validation doesn't require async client --- tests/test_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_objects.py b/tests/test_objects.py index afe5cc9d..ffa11573 100644 --- a/tests/test_objects.py +++ b/tests/test_objects.py @@ -3,7 +3,7 @@ """ import pytest -from kubernetes_asyncio.client import ApiClient +from kubernetes.client import ApiClient from kubespawner.objects import make_ingress, make_namespace, make_pod, make_pvc