Skip to content

Commit 2f25b0f

Browse files
author
Jakub Smolar
authored
Merge pull request #607 from jsmolar/jsmolar2
Add authorization for reconciliation tests
2 parents 8116770 + 0582f84 commit 2f25b0f

File tree

1 file changed

+7
-0
lines changed
  • testsuite/tests/singlecluster/reconciliation

1 file changed

+7
-0
lines changed

testsuite/tests/singlecluster/reconciliation/conftest.py

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
import pytest
44

55

6+
@pytest.fixture(scope="module")
7+
def authorization(authorization):
8+
"""Add anonymous identity. This is needed as we can't create authorization without any rule"""
9+
authorization.identity.add_anonymous("anonymous")
10+
return authorization
11+
12+
613
@pytest.fixture(scope="module", autouse=True)
714
def commit(request, authorization):
815
"""Only commit authorization"""

0 commit comments

Comments
 (0)