This repository was archived by the owner on Aug 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-89
lines changed Expand file tree Collapse file tree 3 files changed +6
-89
lines changed Original file line number Diff line number Diff line change 2424 "postbuild" : " es-check es5 dash_html_components/*.js" ,
2525 "build:watch" : " watch 'npm run build' src" ,
2626 "test:import" : " python -m unittest tests.test_dash_import" ,
27- "test:py" : " pytest --nopercyfinalize tests/test_dash_html_components.py tests/test_integration.py" ,
27+ "test:py" : " pytest --nopercyfinalize --headless tests/test_dash_html_components.py tests/test_integration.py" ,
2828 "test" : " run-s -c test:py test:import lint"
2929 },
3030 "author" : " Chris Parmer <chris@plotly.com>" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66import dash_html_components as html
77
88
9- def test_click (dash_duo ):
9+ def test_click_simple (dash_duo ):
1010 call_count = Value ('i' , 0 )
1111
1212 app = dash .Dash (__name__ )
@@ -36,6 +36,8 @@ def update_output(n_clicks):
3636 assert call_count .value == 2
3737 dash_duo .percy_snapshot ('button click' )
3838
39+ assert not dash_duo .get_logs ()
40+
3941
4042def test_click_prev (dash_duo ):
4143 call_count = Value ('i' , 0 )
@@ -93,3 +95,5 @@ def update_output(*args):
9395 assert timestamp_2 .value > timestamp_1 .value
9496 assert call_count .value == 4
9597 dash_duo .percy_snapshot ('button-2 click again' )
98+
99+ assert not dash_duo .get_logs ()
You can’t perform that action at this time.
0 commit comments