Fix block till done in create entry config flow tests (#42290)
This commit is contained in:
1 parent
bfb603fe78
commit
1c36bf5e19
57 files changed
+105
-108
No files matched your search
@@ -29,12 +29,12 @@ async def test_flow_success(hass):
|
||||
result["flow_id"],
|
||||
{},
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert result2["type"] == "create_entry"
|
||||
assert result2["title"] == "Zerproc"
|
||||
assert result2["data"] == {}
|
||||
|
||||
await hass.async_block_till_done()
|
||||
assert len(mock_setup.mock_calls) == 1
|
||||
assert len(mock_setup_entry.mock_calls) == 1
|
||||
|
||||
|
||||
Reference in new issue
Block a user