refactor: Make acting_user a mandatory kwarg for do_create_user.

This commit is contained in:
shanukun
2021-02-06 18:57:06 +05:30
committed by Tim Abbott
parent 673af19a4d
commit 4b67946605
18 changed files with 57 additions and 35 deletions

View File

@@ -73,10 +73,7 @@ with test_server_running(force=options.force, external_host="zulipdev.com:9981")
# Prepare the non-admin client
email = "guest@zulip.com" # guest is not an admin
guest_user = do_create_user(
"guest@zulip.com",
"secret",
get_realm("zulip"),
"Mr. Guest",
"guest@zulip.com", "secret", get_realm("zulip"), "Mr. Guest", acting_user=None
)
api_key = get_api_key(guest_user)
nonadmin_client = Client(