mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
tests: setUp overrides should call super().setUp().
MigrationsTestCase is intentionally omitted from this, since migrations tests are different in their nature and so whatever setUp() ZulipTestCase may do in the future, MigrationsTestCase may not necessarily want to replicate.
This commit is contained in:
committed by
Tim Abbott
parent
0af7aa8db3
commit
bbf2474bd0
@@ -11,6 +11,7 @@ import ujson
|
||||
# complicated hotspots logic.
|
||||
class TestGetNextHotspots(ZulipTestCase):
|
||||
def setUp(self) -> None:
|
||||
super().setUp()
|
||||
self.user = do_create_user(
|
||||
'user@zulip.com', 'password', get_realm('zulip'), 'user', 'user')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user