Make copyright text inclusion test date-independent

Improve clarity on what the test is looking for in the footer
This commit is contained in:
Adam Turner 2023-01-01 19:38:55 +00:00
parent 1e900a26e8
commit a6257fc83b
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ templates_path = ['_templates']
source_suffix = ['.txt', '.add', '.foo']
project = 'Sphinx <Tests>'
copyright = '2010-2016, Georg Brandl & Team'
copyright = '1234-6789, copyright text credits'
# If this is changed, remember to update the versionchanges!
version = '0.6'
release = '0.6alpha1'

View File

@ -358,7 +358,7 @@ def test_html4_deprecation(make_app, tempdir):
(".//li[@class='toctree-l1']/a", 'Testing various markup'),
(".//li[@class='toctree-l2']/a", 'Inline markup'),
(".//title", 'Sphinx <Tests>'),
(".//div[@class='footer']", 'Georg Brandl & Team'),
(".//div[@class='footer']", 'copyright text credits'),
(".//a[@href='http://python.org/']"
"[@class='reference external']", ''),
(".//li/p/a[@href='genindex.html']/span", 'Index'),