From 2563f93d46c489871219662018797dabb3e0b7ad Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 16 Nov 2017 13:43:57 -0800 Subject: [PATCH] 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. --- tools/test-help-documentation | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test-help-documentation b/tools/test-help-documentation index 12d33326c0..e4909bc31e 100755 --- a/tools/test-help-documentation +++ b/tools/test-help-documentation @@ -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'),