Skip to content

Commit ed9a8ad

Browse files
committed
Add flag to more tests to prevent failures in CI
1 parent bf8a740 commit ed9a8ad

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/integration/callbacks/test_missing_outputs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def content_inner(n2):
6363
def out2(contents):
6464
return sum(contents)
6565

66-
dash_duo.start_server(app)
66+
dash_duo.start_server(app, dev_tools_disable_version_check=True)
6767

6868
dash_duo.wait_for_text_to_equal("#content", "")
6969
dash_duo.wait_for_text_to_equal("#output", "0")
@@ -304,7 +304,7 @@ def this_callback_takes_forever(n_clicks):
304304
call_counts["button-output"].value += 1
305305
return "New value!"
306306

307-
dash_duo.start_server(app)
307+
dash_duo.start_server(app, dev_tools_disable_version_check=True)
308308

309309
dash_duo.wait_for_text_to_equal("#ch1-title", "Chapter 1")
310310
assert call_counts["body"].value == 1

tests/integration/devtools/test_devtools_ui.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def test_dvui002_disable_ui_config(dash_duo):
4949
use_debugger=True,
5050
dev_tools_hot_reload=False,
5151
dev_tools_ui=False,
52+
dev_tools_disable_version_check=True,
5253
)
5354

5455
dash_duo.wait_for_text_to_equal("#tcid", "Hello Disable UI")
@@ -71,6 +72,7 @@ def test_dvui003_callback_graph(dash_duo):
7172
use_reloader=False,
7273
use_debugger=True,
7374
dev_tools_hot_reload=False,
75+
dev_tools_disable_version_check=True,
7476
)
7577

7678
dash_duo.wait_for_text_to_equal("#totals", "0 of 0 items completed")
@@ -174,7 +176,7 @@ def check_undo_redo_exist(has_undo, has_redo):
174176
def set_b(a):
175177
return a
176178

177-
dash_duo.start_server(app)
179+
dash_duo.start_server(app, dev_tools_disable_version_check=True)
178180

179181
dash_duo.find_element("#a").send_keys("xyz")
180182

@@ -209,7 +211,7 @@ def test_dvui006_no_undo_redo(dash_duo):
209211
def set_b(a):
210212
return a
211213

212-
dash_duo.start_server(app)
214+
dash_duo.start_server(app, dev_tools_disable_version_check=True)
213215

214216
dash_duo.find_element("#a").send_keys("xyz")
215217

0 commit comments

Comments
 (0)