mirror of
https://github.com/home-assistant/core.git
synced 2026-07-04 23:51:32 +02:00
Fix openai_conversation tests broken by Python 3.14.3 asyncio changes (#169259)
This commit is contained in:
@@ -1408,8 +1408,8 @@ async def test_devices(
|
||||
)
|
||||
assert len(devices) == 4 # One for conversation, AI task, STT, and TTS
|
||||
|
||||
# Use the first device for snapshot comparison
|
||||
device = devices[0]
|
||||
# Find the conversation device for snapshot comparison
|
||||
device = next(d for d in devices if d.name == "OpenAI Conversation")
|
||||
assert device == snapshot(exclude=props("identifiers"))
|
||||
# Verify the device has identifiers matching one of the subentries
|
||||
expected_identifiers = [
|
||||
|
||||
Reference in New Issue
Block a user