Skip to content

Commit

Permalink
Merge pull request #607 from jsmolar/jsmolar2
Browse files Browse the repository at this point in the history
Add authorization for reconciliation tests
  • Loading branch information
jsmolar authored Dec 3, 2024
2 parents 8116770 + 0582f84 commit 2f25b0f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions testsuite/tests/singlecluster/reconciliation/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
import pytest


@pytest.fixture(scope="module")
def authorization(authorization):
"""Add anonymous identity. This is needed as we can't create authorization without any rule"""
authorization.identity.add_anonymous("anonymous")
return authorization


@pytest.fixture(scope="module", autouse=True)
def commit(request, authorization):
"""Only commit authorization"""
Expand Down

0 comments on commit 2f25b0f

Please sign in to comment.