diff options
author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-01-01 19:38:55 +0000 |
---|---|---|
committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-01-01 19:38:55 +0000 |
commit | a6257fc83b0930ef353d56d34d635fd8ba05ca66 (patch) | |
tree | 338ed54f934b347dc130882b6c31915863394691 | |
parent | 1e900a26e8831470eb5777de44e5532c18af3f62 (diff) | |
download | sphinx-git-a6257fc83b0930ef353d56d34d635fd8ba05ca66.tar.gz |
Make copyright text inclusion test date-independent
Improve clarity on what the test is looking for in the footer
-rw-r--r-- | tests/roots/test-root/conf.py | 2 | ||||
-rw-r--r-- | tests/test_build_html.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/roots/test-root/conf.py b/tests/roots/test-root/conf.py index 1065cd193..6583fbb80 100644 --- a/tests/roots/test-root/conf.py +++ b/tests/roots/test-root/conf.py @@ -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' diff --git a/tests/test_build_html.py b/tests/test_build_html.py index dee65613f..11a03b944 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -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'), |