From 0c6881d8a1066d5762131d28fb350eaeb92b341c Mon Sep 17 00:00:00 2001 From: ikkemaniac Date: Sun, 21 Jun 2020 20:49:43 +0200 Subject: [PATCH] loop from 0 to make update_id consistant w array key, just easier to debug --- tests/test_updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_updater.py b/tests/test_updater.py index 594d9dfb7..861ca4e8b 100644 --- a/tests/test_updater.py +++ b/tests/test_updater.py @@ -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