mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	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:
		@@ -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'),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user