mirror of
https://github.com/bspeice/metrik
synced 2024-11-04 22:48:11 -05:00
Fix a test using the wrong collection
This commit is contained in:
parent
4d36403c59
commit
12bb7427e4
@ -25,7 +25,7 @@ class RateLimitTest(MongoTest):
|
||||
assert ratelimit.query_locks(onesec_back) == 0
|
||||
|
||||
ratelimit.save_lock(present)
|
||||
assert self.db[service].count() == 1
|
||||
assert self.db[MongoRateLimit.rate_limit_collection].count() == 1
|
||||
assert ratelimit.query_locks(onesec_back) == 1
|
||||
|
||||
def test_save_creates_correct_service(self):
|
||||
|
Loading…
Reference in New Issue
Block a user