From 4a3eec154582217dd1d2555bdac6a16b3e7298a3 Mon Sep 17 00:00:00 2001 From: averevki Date: Wed, 7 Feb 2024 17:20:50 +0100 Subject: [PATCH] Add pytest marks to mtls tests --- .../authorino/operator/tls/mtls/test_mtls_attributes.py | 2 ++ .../kuadrant/authorino/operator/tls/mtls/test_mtls_identity.py | 2 ++ .../authorino/operator/tls/mtls/test_mtls_trust_chain.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_attributes.py b/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_attributes.py index c488f077..cf908c7a 100644 --- a/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_attributes.py +++ b/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_attributes.py @@ -4,6 +4,8 @@ from testsuite.policy.authorization import Pattern +pytestmark = [pytest.mark.authorino, pytest.mark.standalone_only] + @pytest.fixture(scope="module", autouse=True) def authorization(authorization, blame, cert_attributes): diff --git a/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_identity.py b/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_identity.py index bb9fc9a0..ad963242 100644 --- a/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_identity.py +++ b/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_identity.py @@ -5,6 +5,8 @@ from testsuite.httpx import Result +pytestmark = [pytest.mark.authorino, pytest.mark.standalone_only] + def test_mtls_success(envoy_authority, valid_cert, hostname): """Test successful mtls authentication""" diff --git a/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_trust_chain.py b/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_trust_chain.py index c067cbd2..c865bb76 100644 --- a/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_trust_chain.py +++ b/testsuite/tests/kuadrant/authorino/operator/tls/mtls/test_mtls_trust_chain.py @@ -2,6 +2,8 @@ import pytest +pytestmark = [pytest.mark.authorino, pytest.mark.standalone_only] + @pytest.fixture(scope="module", autouse=True) def create_intermediate_authority_secrets(create_secret, authorino_labels, certificates):