File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ # pylint: disable=import-error, wrong-import-position
12import json
23import os
34import sys
45from unittest .mock import AsyncMock , MagicMock , patch
56import pytest
67from pydantic import ValidationError
78
8- from src .backend .agents .agentutils import extract_and_update_transition_states
9- from src .backend .models .messages import Step
10- # pylint: disable=import-error
9+
1110# Environment and module setup
1211sys .modules ["azure.monitor.events.extension" ] = MagicMock ()
1312
1918os .environ ["AZURE_OPENAI_API_VERSION" ] = "2023-01-01"
2019os .environ ["AZURE_OPENAI_ENDPOINT" ] = "https://mock-openai-endpoint"
2120
22- # Ensure imports are at the top
21+
22+ from src .backend .agents .agentutils import extract_and_update_transition_states
23+ from src .backend .models .messages import Step
2324
2425
2526@pytest .mark .asyncio
You can’t perform that action at this time.
0 commit comments