loop from 0 to make update_id consistant w array key, just easier to debug

This commit is contained in:
ikkemaniac 2020-06-21 20:49:43 +02:00
parent 71de999300
commit 0c6881d8a1

View file

@ -103,8 +103,8 @@ class TestUpdater:
# build list of fake updates
# returns list of 3 objects with
# update_id's 1, 2 and 3
self.updates = [FakeUpdate(i) for i in range(1, expected_id)]
# update_id's 0, 1, 2 and 3
self.updates = [FakeUpdate(i) for i in range(0, expected_id)]
def get_updates(*args, **kwargs):
# we're hitting this func twice