Skip to content

Commit cf96cf3

Browse files
author
Andrei Neagu
committed
added require fixture
1 parent 36d49c4 commit cf96cf3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

services/dynamic-scheduler/tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ def disable_status_monitor_lifespan(mocker: MockerFixture) -> None:
120120
mocker.patch(f"{_EVENTS_MODULE}.status_monitor_lifespan")
121121

122122

123+
@pytest.fixture
124+
def disable_generic_scheduler_lifespan(mocker: MockerFixture) -> None:
125+
mocker.patch(f"{_EVENTS_MODULE}.get_generic_scheduler_lifespans")
126+
127+
123128
@pytest.fixture
124129
def disable_postgres_lifespan(
125130
mocker: MockerFixture, monkeypatch: pytest.MonkeyPatch

0 commit comments

Comments
 (0)