X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..77b521b09666ff694a7bf746ef8e910ca0a53d48:/tests/schedule.py diff --git a/tests/schedule.py b/tests/schedule.py index b0ae1fa..25db56d 100755 --- a/tests/schedule.py +++ b/tests/schedule.py @@ -1,7 +1,7 @@ #! /usr/bin/env python # # This file is part of DisOrder. -# Copyright (C) 2008 Richard Kettlewell +# Copyright (C) 2008, 2009 Richard Kettlewell # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -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)