Skip to content

Commit 0ed81ce

Browse files
committed
fixing failing test
1 parent f867f98 commit 0ed81ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/devtools/test_devtools_error_handling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ def test_dveh006_long_python_errors(dash_duo):
109109
assert "in bad_sub" not in error0
110110
# dash and flask part of the traceback ARE included
111111
# since we set dev_tools_prune_errors=False
112-
assert "factory.py" in error0
112+
assert "backend" in error0 and "flask.py" in error0
113113
assert "self.wsgi_app" in error0
114114

115115
error1 = get_error_html(dash_duo, 1)
116116
assert "in update_output" in error1
117117
assert "in bad_sub" in error1
118118
assert "ZeroDivisionError" in error1
119-
assert "factory.py" in error1
119+
assert "backend" in error1 and "flask.py" in error1
120120
assert "self.wsgi_app" in error1
121121

122122

0 commit comments

Comments
 (0)