From: Richard Kettlewell Date: Sat, 18 Jul 2009 14:15:49 +0000 (+0100) Subject: Slightly chattier tests/schedule.py. X-Git-Tag: 5.0.3~4^2~107 X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/commitdiff_plain/ce09e249ea897c3b92dc44e716ffa126a4b10279 Slightly chattier tests/schedule.py. Might help with issue #35. --- diff --git a/tests/schedule.py b/tests/schedule.py index b0ae1fa..0207408 100755 --- a/tests/schedule.py +++ b/tests/schedule.py @@ -66,6 +66,7 @@ def test(): "schedule-list"]), ""), p = next_playing(c) assert p["track"] == track, "checking right track played" + print " when=%d expected at least %d" % (int(p["when"]), when) assert int(p["when"]) >= when, "checking track played at right time" assert c.schedule_list() == [], "checking schedule is empty" wait_idle(c)