mirror of https://github.com/zulip/zulip.git
Don't create Zulip employee accounts automatically in Dev VM.
(imported from commit 378f12d3f2ac4c131919c0efbd049b9eaa961694)
This commit is contained in:
parent
2de3e2ebdd
commit
dcc3b3fe37
|
@ -194,15 +194,15 @@ class Command(BaseCommand):
|
|||
get_client("website")
|
||||
get_client("API")
|
||||
|
||||
# Create internal users; first the ones who are referenced
|
||||
# directly by the test suite; the MIT ones are needed to
|
||||
# test the Zephyr mirroring codepaths.
|
||||
testsuite_mit_users = [
|
||||
("Fred Sipb (MIT)", "sipbtest@mit.edu"),
|
||||
("Athena Consulting Exchange User (MIT)", "starnine@mit.edu"),
|
||||
("Esp Classroom (MIT)", "espuser@mit.edu"),
|
||||
]
|
||||
create_users(realms, testsuite_mit_users)
|
||||
if options["test_suite"]:
|
||||
# Create test users; the MIT ones are needed to test
|
||||
# the Zephyr mirroring codepaths.
|
||||
testsuite_mit_users = [
|
||||
("Fred Sipb (MIT)", "sipbtest@mit.edu"),
|
||||
("Athena Consulting Exchange User (MIT)", "starnine@mit.edu"),
|
||||
("Esp Classroom (MIT)", "espuser@mit.edu"),
|
||||
]
|
||||
create_users(realms, testsuite_mit_users)
|
||||
|
||||
# These bots are directly referenced from code and thus
|
||||
# are needed for the test suite.
|
||||
|
@ -220,10 +220,6 @@ class Command(BaseCommand):
|
|||
# suite fast, don't add these users and subscriptions
|
||||
# when running populate_db for the test suite
|
||||
|
||||
internal_mit_users = []
|
||||
create_users(realms, internal_mit_users)
|
||||
|
||||
create_users(realms, settings.INTERNAL_ZULIP_USERS)
|
||||
zulip_stream_list = ["devel", "all", "zulip", "design", "support", "social", "test",
|
||||
"errors", "sales"]
|
||||
create_streams(realms, zulip_realm, zulip_stream_list)
|
||||
|
|
|
@ -114,7 +114,6 @@ elif not DEPLOYED:
|
|||
'connection_factory': TimeTrackingConnection
|
||||
}
|
||||
})
|
||||
INTERNAL_ZULIP_USERS = []
|
||||
|
||||
# Local time zone for this installation. Choices can be found here:
|
||||
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
||||
|
|
Loading…
Reference in New Issue