Add current step that is in progress (#35272)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-05-05 21:34:51 -07:00
1 parent 56beec1ce9
commit 1c5b4dbd97
3 files changed
+20 -3

No files matched your search

+8 -1
View File
@@ -58,7 +58,14 @@ async def test_configure_reuses_handler_instance(manager):
assert form["errors"]["base"] == "1"
form = await manager.async_configure(form["flow_id"])
assert form["errors"]["base"] == "2"
assert len(manager.async_progress()) == 1
assert manager.async_progress() == [
{
"flow_id": form["flow_id"],
"handler": "test",
"step_id": "init",
"context": {},
}
]
assert len(manager.mock_created_entries) == 0