We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9225f2e commit 0ecbf25Copy full SHA for 0ecbf25
tests/test_integration.py
@@ -605,6 +605,18 @@ def on_click_same_output(n_clicks):
605
606
self.assertTrue('output5' in context.exception.args[0])
607
608
+ with self.assertRaises(DuplicateCallbackOutput) as context:
609
+ @app.callback([Output('output1', 'children'),
610
+ Output('output5', 'children')],
611
+ [Input('output-btn', 'n_clicks')])
612
+ def overlapping_multi_output(n_clicks):
613
+ return n_clicks
614
+
615
+ self.assertTrue(
616
+ '{\'output1.children\'}' in context.exception.args[0]
617
+ or "set(['output1.children'])" in context.exception.args[0]
618
+ )
619
620
self.startServer(app)
621
622
t = time.time()
0 commit comments