mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +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
@@ -48,6 +48,7 @@ class MITNameTest(ZulipTestCase):
|
||||
class RateLimitTests(ZulipTestCase):
|
||||
|
||||
def setUp(self) -> None:
|
||||
super().setUp()
|
||||
settings.RATE_LIMITING = True
|
||||
add_ratelimit_rule(1, 5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user