Enumerate openai.Models to validate config (#99438)
This commit is contained in:
parent
62473936e2
commit
df025b5993
5 changed files with 6 additions and 6 deletions
|
@ -140,7 +140,7 @@ async def test_template_error(
|
|||
},
|
||||
)
|
||||
with patch(
|
||||
"openai.Engine.list",
|
||||
"openai.Model.list",
|
||||
), patch("openai.ChatCompletion.acreate"):
|
||||
await hass.config_entries.async_setup(mock_config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue