X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/f0feb22e80bfe438c16d212a7cc8be6d2282b6ac..d7b0c55c571bf794cd00c84e9512358abcca4ede:/tests/queue.py?ds=sidebyside diff --git a/tests/queue.py b/tests/queue.py index c78d6ed..4deb88d 100755 --- a/tests/queue.py +++ b/tests/queue.py @@ -24,6 +24,11 @@ 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()