X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/6c13a3172dd416a42952b1ad32c60f474b38bec5..d436bd52989e64f8c3cb8a543f446136b6ab1ac4:/tests/schedule.py diff --git a/tests/schedule.py b/tests/schedule.py index ae6623c..a3feaa8 100755 --- a/tests/schedule.py +++ b/tests/schedule.py @@ -82,7 +82,8 @@ def test(): "--config", disorder._configfile, "--no-per-user-config", "schedule-play", - str(now + 4), + time.strftime("%Y-%m-%d %H:%M:%S", + time.localtime(now + 4)), "normal", track]) print " disorder schedule-list output:" @@ -110,7 +111,8 @@ def test(): "--config", disorder._configfile, "--no-per-user-config", "schedule-set-global", - str(now + 4), + time.strftime("%Y-%m-%d %H:%M:%S", + time.localtime(now + 4)), "normal", "random-play", "yes"])