Skip to content

Commit

Permalink
Add pytest marks to mtls tests
Browse files Browse the repository at this point in the history
  • Loading branch information
averevki committed Feb 7, 2024
1 parent 0e033fc commit 4a3eec1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4a3eec1

Please sign in to comment.