Skip to content

Commit d65bc81

Browse files
committed
fix misc test warnings
1 parent b4a66f4 commit d65bc81

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

tests/test_core/test_layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ def effect():
13371337

13381338
async with layout_runner(Layout(Root())) as runner:
13391339
await runner.render()
1340-
poll(lambda: effect_run_count.current).until_equals(1)
1340+
await poll(lambda: effect_run_count.current).until_equals(1)
13411341
toggle_condition.current()
13421342
await runner.render()
13431343
assert effect_run_count.current == 1

tests/test_web/test_module.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ def ShowSimpleButton():
7676
await display.page.wait_for_selector("#my-button")
7777

7878

79-
def test_module_from_template_where_template_does_not_exist():
80-
with pytest.raises(ValueError, match="No template for 'does-not-exist.js'"):
81-
reactpy.web.module_from_template("does-not-exist", "something.js")
82-
83-
8479
async def test_module_from_file(display: DisplayFixture):
8580
SimpleButton = reactpy.web.export(
8681
reactpy.web.module_from_file(

0 commit comments

Comments
 (0)