From f6db2877ca1108863a472138d3d15a0b9cdf9afb Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 16 Jan 2017 20:23:14 +0100 Subject: fix createdAt tests --- tests/gamelocker_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gamelocker_test.py b/tests/gamelocker_test.py index 2af10e2..92ab2b2 100644 --- a/tests/gamelocker_test.py +++ b/tests/gamelocker_test.py @@ -81,8 +81,8 @@ class TestGamelocker: def fromiso(s): return datetime.datetime.strptime(s, "%Y-%m-%dT%H:%M:%SZ") - start = "2017-01-11T02:25:00Z" - end = "2017-01-11T02:30:00Z" + start = "2017-01-10T02:25:00Z" + end = "2017-01-12T02:30:00Z" matches = api.matches(createdAtStart=start, createdAtEnd=end) for match in matches: assert fromiso(end) >= fromiso(match.createdAt) >= fromiso(start) -- cgit v1.3.1