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:
Mateusz Mandera
2019-10-19 20:47:00 +02:00
committed by Tim Abbott
parent 0af7aa8db3
commit bbf2474bd0
33 changed files with 51 additions and 0 deletions

View File

@@ -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')