test-js-with-puppeteer: Propagate --skip-provision-check to test server.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-03-17 16:11:54 -07:00 committed by Anders Kaseorg
parent 129ea6dd11
commit afbcdc38f4
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ def run_tests(files: Iterable[str], external_host: str) -> None:
current_test_num += 1 current_test_num += 1
return 0, -1 return 0, -1
with test_server_running(False, external_host): with test_server_running(options.skip_provision_check, external_host):
# Important: do this next call inside the `with` block, when Django # Important: do this next call inside the `with` block, when Django
# will be pointing at the test database. # will be pointing at the test database.
subprocess.check_call("tools/setup/generate-test-credentials") subprocess.check_call("tools/setup/generate-test-credentials")