X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/d3369bca6a8fec22726a71faeb4e839d56b9ac3f..db86b8ed9c69525f740024d0a11308716148eec0:/tests/play.py?ds=sidebyside diff --git a/tests/play.py b/tests/play.py index 3d09bd1..c638572 100755 --- a/tests/play.py +++ b/tests/play.py @@ -27,6 +27,7 @@ def test(): c = disorder.client() track = u"%s/Joe Bloggs/First Album/02:Second track.ogg" % dtest.tracks print " adding track to queue" + c.disable() c.play(track) print " checking track turned up in queue" q = c.queue() @@ -36,6 +37,7 @@ def test(): assert t['submitter'] == u'fred', "check queue submitter" i = t['id'] print " waiting for track" + c.enable() p = c.playing() r = c.recent() while not((p is not None and p['id'] == i)