summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-01-08 01:23:17 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-01-08 01:23:17 +0900
commit5460ea103bd91ce910e50e11e05c1e5340c2a9e0 (patch)
tree2009eec87f4ef7442cd29158c000bd12be17b999 /tests/test_build_html.py
parent5ba5602d7173d0da7adfb4f1e6279ff40c56ef47 (diff)
parentd9569a84a28b4720f9adf69ef9778961585ea19a (diff)
downloadsphinx-git-5460ea103bd91ce910e50e11e05c1e5340c2a9e0.tar.gz
Merge branch '3.x'
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r--tests/test_build_html.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index b2d212549..eecd25d07 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -1220,15 +1220,15 @@ def test_assets_order(app):
# css_files
expected = ['_static/early.css', '_static/pygments.css', '_static/alabaster.css',
- '_static/normal.css', '_static/late.css', '_static/css/style.css',
- 'https://example.com/custom.css', '_static/lazy.css']
+ 'https://example.com/custom.css', '_static/normal.css', '_static/late.css',
+ '_static/css/style.css', '_static/lazy.css']
pattern = '.*'.join('href="%s"' % f for f in expected)
assert re.search(pattern, content, re.S)
# js_files
expected = ['_static/early.js', '_static/jquery.js', '_static/underscore.js',
- '_static/doctools.js', '_static/normal.js', '_static/late.js',
- '_static/js/custom.js', 'https://example.com/script.js', '_static/lazy.js']
+ '_static/doctools.js', 'https://example.com/script.js', '_static/normal.js',
+ '_static/late.js', '_static/js/custom.js', '_static/lazy.js']
pattern = '.*'.join('src="%s"' % f for f in expected)
assert re.search(pattern, content, re.S)