test_signup: Fix test failure due to user docs include/.

This commit is contained in:
Tim Abbott 2016-12-30 17:46:38 -08:00
parent 687d0cbf9e
commit 8d66a4f53f
1 changed files with 1 additions and 1 deletions

View File

@ -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/"],