diff --git a/testsuite/tests/kuadrant/test_rate_limit_authz.py b/testsuite/tests/kuadrant/test_rate_limit_authz.py index 60fb2574..d37de536 100644 --- a/testsuite/tests/kuadrant/test_rate_limit_authz.py +++ b/testsuite/tests/kuadrant/test_rate_limit_authz.py @@ -7,6 +7,14 @@ from testsuite.openshift.objects.rate_limit import Limit +@pytest.fixture(scope="module") +def kuadrant(kuadrant): + """Skip if not running on Kuadrant""" + if not kuadrant: + pytest.skip("Limitador tests can only run on Kuadrant for now") + return kuadrant + + @pytest.fixture(scope="module") def rate_limit(rate_limit): """Add limit to the policy"""