Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tests: Remove use_db flag from test_server_running.
Alex Vandiverece0aaa6cc60
diff --git a/tools/lib/test_server.py b/tools/lib/test_server.pyindex b9637fcce42..7d662df5b83 100644--- a/tools/lib/test_server.py+++ b/tools/lib/test_server.py@@ -51,7 +51,7 @@ def server_is_up(server: "subprocess.Popen[bytes]", log_file: Optional[str]) ->@contextmanagerdef test_server_running(force: bool=False, external_host: str='testserver',- log_file: Optional[str]=None, dots: bool=False, use_db: bool=True,+ log_file: Optional[str]=None, dots: bool=False,) -> Iterator[None]:log = sys.stdoutif log_file:@@ -63,8 +63,7 @@ def test_server_running(force: bool=False, external_host: str='testserver',set_up_django(external_host)- if use_db:- update_test_databases_if_required(rebuild_test_database=True)+ update_test_databases_if_required(rebuild_test_database=True)# Run this not through the shell, so that we have the actual PID.run_dev_server_command = ['tools/run-dev.py', '--test', '--streamlined']diff --git a/tools/test-help-documentation b/tools/test-help-documentationindex f8c76b93655..fe9a19d2852 100755--- a/tools/test-help-documentation+++ b/tools/test-help-documentation@@ -54,7 +54,7 @@ def vnu_servlet() -> Iterator[None]:with vnu_servlet(), \test_server_running(options.force, external_host, log_file=LOG_FILE,- dots=True, use_db=True):+ dots=True):ret_help_doc = subprocess.call(['scrapy', 'crawl_with_status', *extra_args,'help_documentation_crawler'],cwd='tools/documentation_crawler')