Skip to content

Commit 070d718

Browse files
committed
Skip test grva004 on werkzeug 2.1.0
1 parent cf26a00 commit 070d718

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/dash-core-components/tests/integration/graph/test_graph_varia.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
import pytest
33
import time
44
import json
5+
6+
import werkzeug
7+
58
from dash import Dash, Input, Output, State, dcc, html
69
from dash.exceptions import PreventUpdate
710
from selenium.webdriver.common.by import By
@@ -185,6 +188,10 @@ def render_content(click, prev_graph):
185188
assert dash_dcc.get_logs() == []
186189

187190

191+
@pytest.mark.skipif(
192+
werkzeug.__version__ in ("2.1.0", "2.1.1"),
193+
reason="Bug with no_update 204 responses get Transfer-Encoding header.",
194+
)
188195
@pytest.mark.parametrize("is_eager", [True, False])
189196
def test_grva004_graph_prepend_trace(dash_dcc, is_eager):
190197
app = Dash(__name__, eager_loading=is_eager)

0 commit comments

Comments
 (0)