Skip to content

Commit a6257fc

Browse files
committed
Make copyright text inclusion test date-independent
Improve clarity on what the test is looking for in the footer
1 parent 1e900a2 commit a6257fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/roots/test-root/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
source_suffix = ['.txt', '.add', '.foo']
2121

2222
project = 'Sphinx <Tests>'
23-
copyright = '2010-2016, Georg Brandl & Team'
23+
copyright = '1234-6789, copyright text credits'
2424
# If this is changed, remember to update the versionchanges!
2525
version = '0.6'
2626
release = '0.6alpha1'

tests/test_build_html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def test_html4_deprecation(make_app, tempdir):
358358
(".//li[@class='toctree-l1']/a", 'Testing various markup'),
359359
(".//li[@class='toctree-l2']/a", 'Inline markup'),
360360
(".//title", 'Sphinx <Tests>'),
361-
(".//div[@class='footer']", 'Georg Brandl & Team'),
361+
(".//div[@class='footer']", 'copyright text credits'),
362362
(".//a[@href='http://python.org/']"
363363
"[@class='reference external']", ''),
364364
(".//li/p/a[@href='genindex.html']/span", 'Index'),

0 commit comments

Comments
 (0)