ai-lawyer-agent/testing/fixtures.py
2026-03-23 02:55:42 +01:00

9 lines
149 B
Python

import pytest
import asyncio
@pytest.fixture(scope="session")
def event_loop():
loop = asyncio.new_event_loop()
yield loop
loop.close()