chiark / gitweb /
Slightly chattier tests/schedule.py.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 18 Jul 2009 14:15:49 +0000 (15:15 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 18 Jul 2009 14:15:49 +0000 (15:15 +0100)
Might help with issue #35.

tests/schedule.py

index b0ae1fa..0207408 100755 (executable)
@@ -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)