time of day hack in tests was off by an hour
This commit is contained in:
parent
6a83654718
commit
0b755202e7
@ -10,7 +10,7 @@ from tests.shared import getEmptyCol
|
|||||||
|
|
||||||
# Between 2-4AM, shift the time back so test assumptions hold.
|
# Between 2-4AM, shift the time back so test assumptions hold.
|
||||||
lt = time.localtime()
|
lt = time.localtime()
|
||||||
if lt.tm_hour > 2 and lt.tm_hour < 4:
|
if lt.tm_hour >= 2 and lt.tm_hour < 4:
|
||||||
orig_time = time.time
|
orig_time = time.time
|
||||||
|
|
||||||
def adjusted_time():
|
def adjusted_time():
|
||||||
|
Loading…
Reference in New Issue
Block a user