Skip to content

Commit

Permalink
add back the test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martinxu9 authored Aug 23, 2023
1 parent 55c59d9 commit a51a110
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/components/forms/test_debounce.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_render_child_props_recursive():
)
assert tag.props["forceNotifyOnBlur"].name == "false"
assert tag.props["forceNotifyByEnter"].name == "false"
assert tag.props["debounceTimeout"] == 42
assert tag.props["debounceTimeout"].name == "42"
assert len(tag.props["onChange"].events) == 1
assert tag.props["onChange"].events[0].handler == S.on_change
assert tag.contents == ""
Expand All @@ -101,7 +101,7 @@ def test_full_control_implicit_debounce():
value=S.value,
on_change=S.on_change,
)._render()
assert tag.props["debounceTimeout"] == 0
assert tag.props["debounceTimeout"].name == "50"
assert len(tag.props["onChange"].events) == 1
assert tag.props["onChange"].events[0].handler == S.on_change
assert tag.contents == ""
Expand All @@ -113,7 +113,7 @@ def test_full_control_implicit_debounce_text_area():
value=S.value,
on_change=S.on_change,
)._render()
assert tag.props["debounceTimeout"] == 0
assert tag.props["debounceTimeout"].name == "50"
assert len(tag.props["onChange"].events) == 1
assert tag.props["onChange"].events[0].handler == S.on_change
assert tag.contents == ""

0 comments on commit a51a110

Please sign in to comment.