Skip to content

Commit 2f41620

Browse files
committed
Fix robots test case
1 parent 21b0015 commit 2f41620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/rtd_tests/tests/test_doc_serving.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def test_default_robots_txt(self):
171171
HTTP_HOST='public.readthedocs.io',
172172
)
173173
self.assertEqual(response.status_code, 200)
174-
self.assertEqual(response.content, b'User-agent: *\nAllow: /\n')
174+
self.assertEqual(response.content, b'User-agent: *\nAllow: /\nSitemap: https://public.readthedocs.io/sitemap.xml\n')
175175

176176
@override_settings(
177177
PYTHON_MEDIA=False,

0 commit comments

Comments
 (0)