Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit df8dc31

Browse files
committed
Fix test case.
1 parent a0d0643 commit df8dc31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ def test_empty_graph(self):
859859
dcc.Graph(
860860
id='graph',
861861
figure={
862-
'data': dict(x=[1, 2, 3], y=[1, 2, 3])
862+
'data': [dict(x=[1, 2, 3], y=[1, 2, 3], type='scatter')]
863863
}
864864
)
865865
])
@@ -872,7 +872,7 @@ def render_content(click, prev_graph):
872872
return {}
873873
return prev_graph
874874

875-
self.startServer(app=app)
875+
self.startServer(app)
876876
button = self.wait_for_element_by_css_selector('#click')
877877
button.click()
878878
time.sleep(2) # Wait for graph to re-render

0 commit comments

Comments
 (0)