mirror of https://github.com/zulip/zulip.git
test_signup: Fix test failure due to user docs include/.
This commit is contained in:
parent
687d0cbf9e
commit
8d66a4f53f
|
@ -92,7 +92,7 @@ class PublicURLTest(ZulipTestCase):
|
|||
# Add all files in 'templates/zerver/help' directory (except for 'main.html' and
|
||||
# 'index.md') to `get_urls['200']` list.
|
||||
for doc in os.listdir('./templates/zerver/help'):
|
||||
if doc not in {'main.html', 'index.md'}:
|
||||
if doc not in {'main.html', 'index.md', 'include'}:
|
||||
get_urls[200].append('/help/' + os.path.splitext(doc)[0]) # Strip the extension.
|
||||
|
||||
post_urls = {200: ["/accounts/login/"],
|
||||
|
|
Loading…
Reference in New Issue