mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
test_user_groups: Clean up typos.
This commit is contained in:
committed by
Tim Abbott
parent
c4de46d910
commit
4adb9dd2bc
@@ -391,7 +391,7 @@ class UserGroupAPITestCase(UserGroupTestCase):
|
||||
members = get_direct_memberships_of_users(user_group, [hamlet, othello])
|
||||
self.assert_length(members, 2)
|
||||
|
||||
# Test user adding itself,bot and deactivated user to user group.
|
||||
# Test user adding itself, bot and deactivated user to user group.
|
||||
desdemona = self.example_user("desdemona")
|
||||
self.login_user(desdemona)
|
||||
|
||||
@@ -534,8 +534,6 @@ class UserGroupAPITestCase(UserGroupTestCase):
|
||||
else:
|
||||
self.assert_json_error(result, error_msg)
|
||||
|
||||
realm = hamlet.realm
|
||||
|
||||
# Check only admins are allowed to create/delete user group. Admins are allowed even if
|
||||
# they are not a member of the group.
|
||||
do_set_realm_property(
|
||||
|
||||
Reference in New Issue
Block a user