Shared server instance for all tests (session-scoped). This allows tests to run in parallel by sharing the same pg0 instance, while using different bank_ids to avoid data conflicts.
(llm_config)
| 41 | |
| 42 | @pytest.fixture(scope="session") |
| 43 | def shared_server(llm_config): |
| 44 | """ |
| 45 | Shared server instance for all tests (session-scoped). |
| 46 | |
| 47 | This allows tests to run in parallel by sharing the same pg0 instance, |
| 48 | while using different bank_ids to avoid data conflicts. |
| 49 | """ |
| 50 | server = HindsightServer(db_url="pg0", **llm_config) |
| 51 | server.start() |
| 52 | yield server |
| 53 | server.stop() |
| 54 | |
| 55 | |
| 56 | @pytest.fixture |
nothing calls this directly
no test coverage detected