From 99b001b454717806543e972ccbda62ea86ec51cc Mon Sep 17 00:00:00 2001 From: Jakub Smolar Date: Wed, 27 Nov 2024 15:17:41 +0100 Subject: [PATCH] Add xfail to deny with test Signed-off-by: Jakub Smolar --- .../tests/singlecluster/authorino/response/test_deny_with.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testsuite/tests/singlecluster/authorino/response/test_deny_with.py b/testsuite/tests/singlecluster/authorino/response/test_deny_with.py index 58beebb9..f2375a42 100644 --- a/testsuite/tests/singlecluster/authorino/response/test_deny_with.py +++ b/testsuite/tests/singlecluster/authorino/response/test_deny_with.py @@ -51,6 +51,8 @@ def assert_headers(response): assert response.headers["x-dynamic-header"] == TESTING_PATH +@pytest.mark.xfail +@pytest.mark.issue("https://github.com/Kuadrant/kuadrant-operator/issues/1022") def test_unauthenticated(client): """Test when no auth is passed results in custom unauthenticated response.""" response = client.get(TESTING_PATH, auth=None) @@ -60,6 +62,8 @@ def test_unauthenticated(client): assert response.content.decode() == "You are unauthenticated." +@pytest.mark.xfail +@pytest.mark.issue("https://github.com/Kuadrant/kuadrant-operator/issues/1022") def test_unauthorized(client, auth): """Test when not allowed path is passed results in custom unauthorized response.""" response = client.get(TESTING_PATH, auth=auth)