X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/81e440cef0e926bb730916f50edc635f75822cf1..06638b8da63effe8cc24af0a6a13745583262dcf:/tests/queue.py diff --git a/tests/queue.py b/tests/queue.py index cc0b619..4deb88d 100755 --- a/tests/queue.py +++ b/tests/queue.py @@ -23,6 +23,12 @@ import dtest,time,disorder,re def test(): """Check the queue is padded to the (default) configured length""" dtest.start_daemon() + dtest.create_user() + print " waiting for queue to be populated..." + class wait_monitor(disorder.monitor): + def queue(self, q): + return False + wait_monitor().run() c = disorder.client() print " getting queue via python module" q = c.queue()