Skip to content

Commit b98ca09

Browse files
committed
test(rls): shadow workflow bucket in unit test
1 parent 9df79b7 commit b98ca09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/unit/test_dynamic_workspace_service_rls.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
pytestmark = pytest.mark.usefixtures("db")
2828

2929

30+
@pytest.fixture(scope="session", autouse=True)
31+
def workflow_bucket() -> Iterator[None]:
32+
"""Disable MinIO-dependent workflow bucket setup for these tests."""
33+
yield
34+
35+
3036
@pytest.fixture(scope="session")
3137
def reader_role_name() -> Iterator[str]:
3238
worker_id = os.environ.get("PYTEST_XDIST_WORKER", "master").replace("-", "_")

0 commit comments

Comments
 (0)