Skip to content

Commit 9a5f2bf

Browse files
committed
chore: add reproduction test for non-deterministic html
1 parent 7f50aff commit 9a5f2bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: packages/python/plotly/plotly/tests/test_io/test_html.py

+6
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ def fig1(request):
3838

3939
def test_versioned_cdn_included(fig1):
4040
assert plotly_cdn_url() in pio.to_html(fig1, include_plotlyjs="cdn")
41+
42+
43+
def test_html_deterministic(fig1):
44+
assert pio.to_html(fig1, include_plotlyjs="cdn") == pio.to_html(
45+
fig1, include_plotlyjs="cdn"
46+
)

0 commit comments

Comments
 (0)