Skip to content

Commit

Permalink
Remove istio check (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson authored Jul 3, 2024
1 parent 8d7b213 commit 11c148a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions kr8s/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,13 +355,10 @@ async def test_nonexisting_resource_type():
],
)
async def test_dynamic_classes(kind):
api = await kr8s.asyncio.api()

if not any(["istio.io" in r["version"] for r in await api.api_resources()]):
pytest.skip("Istio not installed")

from kr8s.asyncio.objects import get_class

api = await kr8s.asyncio.api()

with pytest.raises(KeyError):
get_class("certificatesigningrequest", "certificates.k8s.io/v1")

Expand Down

0 comments on commit 11c148a

Please sign in to comment.