test-help-documentation: Pass use_db=True.

With the new portico work we've done, the help documentation does
sorta depend on the database if you're logged in.  So it's best to
just require it for these tests.
This commit is contained in:
Tim Abbott 2017-11-16 13:43:57 -08:00
parent cb4acf2aa4
commit 2563f93d46
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ subprocess.check_call(['mkdir', '-p', 'var/help-documentation'])
LOG_FILE = 'var/help-documentation/server.log'
external_host = "localhost:9981"
with test_server_running(options.force, external_host, log_file=LOG_FILE, dots=True, use_db=False):
with test_server_running(options.force, external_host, log_file=LOG_FILE,
dots=True, use_db=True):
ret_help_doc = subprocess.call(('scrapy', 'crawl_with_status', 'help_documentation_crawler'),
cwd='tools/documentation_crawler')
ret_api_doc = subprocess.call(('scrapy', 'crawl_with_status', 'api_documentation_crawler'),