diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-01-16 20:23:14 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-01-16 20:23:19 +0100 |
| commit | f6db2877ca1108863a472138d3d15a0b9cdf9afb (patch) | |
| tree | 0663046a61aac9e35eb2d046b01d65c27c373e00 /tests/gamelocker_test.py | |
| parent | 2c15522bc2bacc845b08563f74b0210d8df7729a (diff) | |
| download | python-gamelocker-f6db2877ca1108863a472138d3d15a0b9cdf9afb.tar.gz python-gamelocker-f6db2877ca1108863a472138d3d15a0b9cdf9afb.zip | |
fix createdAt tests
Diffstat (limited to 'tests/gamelocker_test.py')
| -rw-r--r-- | tests/gamelocker_test.py | 4 |
1 files 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) |
