Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4fe7cf

Browse files
Assert that we indeed test all the selector combinations
in test_find_nonempty_subplots.py
1 parent bc1e78a commit e4fe7cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/python/plotly/plotly/tests/test_core/test_subplots/test_find_nonempty_subplots.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def test_choose_correct_non_empty_subplots():
5555
all_subplots = get_non_empty_subplots(fig, "all")
5656
selectors = all_combos(["traces", "shapes", "annotations", "images"])
5757
subplot_combos = all_combos(all_subplots)
58+
assert len(selectors) == len(subplot_combos)
5859
for s, spc in zip(selectors, subplot_combos):
5960
sps = tuple(get_non_empty_subplots(fig, s))
6061
assert sps == spc

0 commit comments

Comments
 (0)