mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
tools: Rename force argument to skip-provision-check
This commit renames --force argument used with various tests to --skip-provision-check. As a consequence of this name change all other files that set --force option for the test commands have been updated. This change is done in order to provide more clarity for using this option for runnning tests. This commit addresses issue #17455.
This commit is contained in:
committed by
Tim Abbott
parent
ca515e5583
commit
911c5f19f1
@@ -24,9 +24,11 @@ parser = argparse.ArgumentParser(usage)
|
||||
add_provision_check_override_param(parser)
|
||||
options = parser.parse_args()
|
||||
|
||||
assert_provisioning_status_ok(options.force)
|
||||
assert_provisioning_status_ok(options.skip_provision_check)
|
||||
|
||||
with test_server_running(force=options.force, external_host="zulipdev.com:9981"):
|
||||
with test_server_running(
|
||||
skip_provision_check=options.skip_provision_check, external_host="zulipdev.com:9981"
|
||||
):
|
||||
# Zerver imports should happen after `django.setup()` is run
|
||||
# by the test_server_running decorator.
|
||||
from zerver.lib.actions import do_create_user
|
||||
|
Reference in New Issue
Block a user