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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py
index 73a4e309..2a08ee92 100644
--- a/tests/test_build_html.py
+++ b/tests/test_build_html.py
@@ -320,6 +320,9 @@ def check_static_entries(outdir):
# a file from _static, but matches exclude_patterns
assert not (staticdir / 'excluded.css').exists()
+def check_extra_entries(outdir):
+ assert (outdir / 'robots.txt').isfile()
+
@gen_with_app(buildername='html', warning=html_warnfile, cleanenv=True,
confoverrides={'html_context.hckey_co': 'hcval_co'},
tags=['testtag'])
@@ -345,6 +348,7 @@ def test_html(app):
yield check_xpath, etree, fname, path, check
check_static_entries(app.builder.outdir)
+ check_extra_entries(app.builder.outdir)
@with_app(buildername='html', srcdir='(empty)',
confoverrides={'html_sidebars': {'*': ['globaltoc.html']}},