We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9225f2e commit 1cc3dbdCopy full SHA for 1cc3dbd
tests/test_integration.py
@@ -605,6 +605,17 @@ 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
+ )
618
619
self.startServer(app)
620
621
t = time.time()
0 commit comments