mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Slight augmentation.
This commit is contained in:
parent
e6725d4ffa
commit
a58b50c3bf
@ -585,8 +585,10 @@ class TestTimeoutQueue(SupyTestCase):
|
|||||||
self.assertEqual(len(q), 2)
|
self.assertEqual(len(q), 2)
|
||||||
q.enqueue(3)
|
q.enqueue(3)
|
||||||
self.assertEqual(len(q), 3)
|
self.assertEqual(len(q), 3)
|
||||||
|
self.assertEqual(sum(q), 6)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
self.assertEqual(len(q), 0)
|
self.assertEqual(len(q), 0)
|
||||||
|
self.assertEqual(sum(q), 0)
|
||||||
|
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
Loading…
Reference in New Issue
Block a user