SIENTIAPDE-1445

Update pyproject.toml to enable automatic asyncio mode, modify pytest_asyncio fixture scopes in conftest.py for better isolation, and streamline e2e scenarios documentation in scenarios.md by removing outdated scenarios and reorganizing sections for clarity.
This commit is contained in:
vitor-aignosi
2025-12-30 16:18:52 -03:00
parent 4f076956cc
commit 90e801bdcd
9 changed files with 1546 additions and 353 deletions

View File

@@ -337,7 +337,7 @@ async def test_activities(
activities.shutdown()
@pytest_asyncio.fixture
@pytest_asyncio.fixture(scope='function')
async def temporal_test_env():
"""Create Temporal test environment."""
env = await WorkflowEnvironment.start_time_skipping()
@@ -345,7 +345,7 @@ async def temporal_test_env():
yield env
@pytest_asyncio.fixture
@pytest_asyncio.fixture(scope='function')
async def temporal_worker(temporal_test_env, test_activities):
"""Create Temporal worker with test activities."""
async with Worker(