Skip to content

Commit a0f78be

Browse files
committed
Fix test isolation
1 parent cf7b57f commit a0f78be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/contrib/openai_agents/test_openai.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2045,10 +2045,11 @@ async def test_hosted_mcp_tool(client: Client, use_local_model):
20452045

20462046

20472047
class AssertDifferentModelProvider(ModelProvider):
2048-
model_names: set[Optional[str]] = set()
2048+
model_names: set[Optional[str]]
20492049

20502050
def __init__(self, model: Model):
20512051
self._model = model
2052+
self.model_names = set()
20522053

20532054
def get_model(self, model_name: Union[str, None]) -> Model:
20542055
self.model_names.add(model_name)

0 commit comments

Comments
 (0)