Skip to content

Commit

Permalink
test_events: Fix a small typo for test_realm_bots_admin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypro999 authored and timabbott committed Oct 23, 2019
1 parent bd3a8f1 commit 34849d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zerver/tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -2825,7 +2825,7 @@ def test_realm_bots_non_admin(self) -> None:
self.assertNotIn(api_key, str(result))

# Admin users have access to all bots in the realm_bots field
def test_realm_bots_e(self) -> None:
def test_realm_bots_admin(self) -> None:
user_profile = self.example_user('hamlet')
do_change_is_admin(user_profile, True)
self.assertTrue(user_profile.is_realm_admin)
Expand Down

0 comments on commit 34849d7

Please sign in to comment.