mirror of https://github.com/zulip/zulip.git
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:
parent
cb4acf2aa4
commit
2563f93d46
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue