mirror of https://github.com/zulip/zulip.git
test_rate_limiter: Define backend on RateLimiterBackendBase.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
parent
f88530575a
commit
0f416c44d0
|
@ -36,6 +36,8 @@ class RateLimitedTestObject(RateLimitedObject):
|
|||
|
||||
|
||||
class RateLimiterBackendBase(ZulipTestCase, ABC):
|
||||
backend: Type[RateLimiterBackend]
|
||||
|
||||
def setUp(self) -> None:
|
||||
self.requests_record: Dict[str, List[float]] = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue