mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
fix another dumb typo
This commit is contained in:
parent
284e36ad04
commit
adb6bac4d5
@ -33,7 +33,7 @@ class WheelTimerTestCase(unittest.TestCase):
|
|||||||
self.assertListEqual(wheel.fetch(156), [obj])
|
self.assertListEqual(wheel.fetch(156), [obj])
|
||||||
self.assertListEqual(wheel.fetch(170), [])
|
self.assertListEqual(wheel.fetch(170), [])
|
||||||
|
|
||||||
def test_mutli_insert(self):
|
def test_multi_insert(self):
|
||||||
wheel = WheelTimer(bucket_size=5)
|
wheel = WheelTimer(bucket_size=5)
|
||||||
|
|
||||||
obj1 = object()
|
obj1 = object()
|
||||||
@ -58,7 +58,7 @@ class WheelTimerTestCase(unittest.TestCase):
|
|||||||
wheel.insert(100, obj, 50)
|
wheel.insert(100, obj, 50)
|
||||||
self.assertListEqual(wheel.fetch(120), [obj])
|
self.assertListEqual(wheel.fetch(120), [obj])
|
||||||
|
|
||||||
def test_insert_past_mutli(self):
|
def test_insert_past_multi(self):
|
||||||
wheel = WheelTimer(bucket_size=5)
|
wheel = WheelTimer(bucket_size=5)
|
||||||
|
|
||||||
obj1 = object()
|
obj1 = object()
|
||||||
|
Loading…
Reference in New Issue
Block a user