Skip to content

Commit a42f95e

Browse files
committed
fix test assertion
1 parent 73116a7 commit a42f95e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/async_tests/test_async_callbacks.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ async def update_input(value):
102102

103103
assert call_count.value == 1, "called once at initial stage"
104104

105-
pad_input, pad_div = dash_duo.dash_innerhtml_dom.select_one(
106-
"#output > div"
107-
).contents
105+
pad_input = dash_duo.dash_innerhtml_dom.select_one("#output input")
106+
pad_div = dash_duo.dash_innerhtml_dom.select_one("#output #sub-output-1")
108107

109108
assert (
110109
pad_input.attrs["value"] == "sub input initial value"

0 commit comments

Comments
 (0)