From 430cc7a3140647e6edc0626b4aac546814a7be1e Mon Sep 17 00:00:00 2001 From: Tomas Repel Date: Mon, 25 Nov 2024 14:02:43 +0100 Subject: [PATCH] Removed redundant RLP removal, rename of test files Signed-off-by: Tomas Repel --- .../singlecluster/identical_hostnames/auth/conftest.py | 8 -------- ...th_on_gw_and_route.py => test_auth_on_gw_and_route.py} | 0 ...hostnames_auth_on_routes.py => test_auth_on_routes.py} | 0 ...rlp_on_gw_and_route.py => test_rlp_on_gw_and_route.py} | 0 ...l_hostnames_rlp_on_routes.py => test_rlp_on_routes.py} | 0 5 files changed, 8 deletions(-) rename testsuite/tests/singlecluster/identical_hostnames/auth/{test_identical_hostnames_auth_on_gw_and_route.py => test_auth_on_gw_and_route.py} (100%) rename testsuite/tests/singlecluster/identical_hostnames/auth/{test_identical_hostnames_auth_on_routes.py => test_auth_on_routes.py} (100%) rename testsuite/tests/singlecluster/identical_hostnames/rlp/{test_identical_hostnames_rlp_on_gw_and_route.py => test_rlp_on_gw_and_route.py} (100%) rename testsuite/tests/singlecluster/identical_hostnames/rlp/{test_identical_hostnames_rlp_on_routes.py => test_rlp_on_routes.py} (100%) diff --git a/testsuite/tests/singlecluster/identical_hostnames/auth/conftest.py b/testsuite/tests/singlecluster/identical_hostnames/auth/conftest.py index b7f84fb2..a59ea64f 100644 --- a/testsuite/tests/singlecluster/identical_hostnames/auth/conftest.py +++ b/testsuite/tests/singlecluster/identical_hostnames/auth/conftest.py @@ -8,11 +8,3 @@ def authorization(authorization): """1st 'allow-all' Authorization object""" authorization.authorization.add_opa_policy("rego", "allow = true") return authorization - - -@pytest.fixture(scope="module") -def rate_limit(): - """ - For these tests RateLimitPolicy is not required - """ - return None diff --git a/testsuite/tests/singlecluster/identical_hostnames/auth/test_identical_hostnames_auth_on_gw_and_route.py b/testsuite/tests/singlecluster/identical_hostnames/auth/test_auth_on_gw_and_route.py similarity index 100% rename from testsuite/tests/singlecluster/identical_hostnames/auth/test_identical_hostnames_auth_on_gw_and_route.py rename to testsuite/tests/singlecluster/identical_hostnames/auth/test_auth_on_gw_and_route.py diff --git a/testsuite/tests/singlecluster/identical_hostnames/auth/test_identical_hostnames_auth_on_routes.py b/testsuite/tests/singlecluster/identical_hostnames/auth/test_auth_on_routes.py similarity index 100% rename from testsuite/tests/singlecluster/identical_hostnames/auth/test_identical_hostnames_auth_on_routes.py rename to testsuite/tests/singlecluster/identical_hostnames/auth/test_auth_on_routes.py diff --git a/testsuite/tests/singlecluster/identical_hostnames/rlp/test_identical_hostnames_rlp_on_gw_and_route.py b/testsuite/tests/singlecluster/identical_hostnames/rlp/test_rlp_on_gw_and_route.py similarity index 100% rename from testsuite/tests/singlecluster/identical_hostnames/rlp/test_identical_hostnames_rlp_on_gw_and_route.py rename to testsuite/tests/singlecluster/identical_hostnames/rlp/test_rlp_on_gw_and_route.py diff --git a/testsuite/tests/singlecluster/identical_hostnames/rlp/test_identical_hostnames_rlp_on_routes.py b/testsuite/tests/singlecluster/identical_hostnames/rlp/test_rlp_on_routes.py similarity index 100% rename from testsuite/tests/singlecluster/identical_hostnames/rlp/test_identical_hostnames_rlp_on_routes.py rename to testsuite/tests/singlecluster/identical_hostnames/rlp/test_rlp_on_routes.py