Skip to content

Commit 2142397

Browse files
committed
test 'shapes' in 'layout' only
1 parent 866f5c9 commit 2142397

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,8 +1348,14 @@ def test_df_dataframe_all_args(self):
13481348
self.assertEqual(test_gantt_chart['data'][1],
13491349
exp_gantt_chart['data'][1])
13501350

1351-
self.assert_dict_equal(test_gantt_chart['layout'],
1352-
exp_gantt_chart['layout'])
1351+
self.assert_dict_equal(test_gantt_chart['layout']['shapes'][0],
1352+
exp_gantt_chart['layout']['shapes'][0])
1353+
1354+
self.assert_dict_equal(test_gantt_chart['layout']['shapes'][1],
1355+
exp_gantt_chart['layout']['shapes'][1])
1356+
1357+
# self.assert_dict_equal(test_gantt_chart['layout'],
1358+
# exp_gantt_chart['layout'])
13531359

13541360

13551361
class TestViolin(NumpyTestUtilsMixin, TestCase):

0 commit comments

Comments
 (0)