summaryrefslogtreecommitdiff
path: root/tests/test_build_html.py
diff options
context:
space:
mode:
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)