Skip to content

Commit e34e8db

Browse files
committed
Fix URL test and add two small more
1 parent e852ad8 commit e34e8db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_htmltag.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ def test_js_render(app, status, warning):
6464
"animation: 'fade'",
6565
"animationDuration: 0",
6666
"content: 'Loading...'",
67-
"var url = 'https://readthedocs.org' + '/api/v2/embed/?' + 'project=' + project + '&version=' + version + '&doc=' + doc + '&path=' + docpath + '&section=' + section;",
67+
"var url = 'https://readthedocs.org' + '/api/v2/embed/?' + $.param(params);",
68+
"var sphinxtabs = 'false'",
69+
"var mathjax = 'false'",
6870
]
6971

7072
for chunk in chunks:

0 commit comments

Comments
 (0)