Skip to content

Commit

Permalink
Set PREFECT_API_URL correctly during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasG0 committed Jan 6, 2025
1 parent 430bf31 commit e4f97d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tests/helpers/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def bus_simulator(self, db: InfrahubDatabase) -> Generator[BusSimulator, None, N
config.OVERRIDE.message_bus = original

@pytest.fixture(scope="class", autouse=True)
async def workflow_local(self) -> AsyncGenerator[WorkflowLocalExecution, None]:
async def workflow_local(self, prefect: Generator[str, None, None]) -> AsyncGenerator[WorkflowLocalExecution, None]:
original = config.OVERRIDE.workflow
workflow = WorkflowLocalExecution()
await setup_task_manager()
Expand Down

0 comments on commit e4f97d6

Please sign in to comment.