mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-03 17:52:31 +01:00
loop from 0 to make update_id consistant w array key, just easier to debug
This commit is contained in:
parent
71de999300
commit
0c6881d8a1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue