Skip to content

Commit

Permalink
Merge pull request #339 from averevki/add-pytest-mark-mtls
Browse files Browse the repository at this point in the history
Add pytest marks to mtls tests
  • Loading branch information
pehala authored Feb 7, 2024
2 parents 0e033fc + 4a3eec1 commit ae8c028
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 ae8c028

Please sign in to comment.