actions: Split out zerver.actions.users.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-04-14 14:48:28 -07:00
parent bbce879c81
commit d7981dad62
42 changed files with 451 additions and 434 deletions

View File

@@ -31,8 +31,8 @@ with test_server_running(
):
# zerver imports should happen after `django.setup()` is run
# by the test_server_running decorator.
from zerver.actions.users import change_user_is_active
from zerver.lib.actions import (
change_user_is_active,
do_create_user,
do_deactivate_realm,
do_reactivate_realm,