Skip to content

Commit 8116770

Browse files
author
Jakub Smolar
authored
Merge pull request #606 from jsmolar/jsmolar3
Add xfail to deny with test
2 parents 7eebf6a + 99b001b commit 8116770

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testsuite/tests/singlecluster/authorino/response/test_deny_with.py

+4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ def assert_headers(response):
5151
assert response.headers["x-dynamic-header"] == TESTING_PATH
5252

5353

54+
@pytest.mark.xfail
55+
@pytest.mark.issue("https://github.com/Kuadrant/kuadrant-operator/issues/1022")
5456
def test_unauthenticated(client):
5557
"""Test when no auth is passed results in custom unauthenticated response."""
5658
response = client.get(TESTING_PATH, auth=None)
@@ -60,6 +62,8 @@ def test_unauthenticated(client):
6062
assert response.content.decode() == "You are unauthenticated."
6163

6264

65+
@pytest.mark.xfail
66+
@pytest.mark.issue("https://github.com/Kuadrant/kuadrant-operator/issues/1022")
6367
def test_unauthorized(client, auth):
6468
"""Test when not allowed path is passed results in custom unauthorized response."""
6569
response = client.get(TESTING_PATH, auth=auth)

0 commit comments

Comments
 (0)