From: Richard Kettlewell Date: Wed, 23 Apr 2008 22:03:03 +0000 (+0100) Subject: search.py waits for rescan to finish X-Git-Tag: 4.0~103 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/f40beeb3951cae0bcdd1ea7f46ed2be4d5983b95?hp=1c934d2a90cf12ee63ab3bb06b57715ed0e33add search.py waits for rescan to finish --- diff --git a/tests/search.py b/tests/search.py index dab3939..1b86bea 100755 --- a/tests/search.py +++ b/tests/search.py @@ -42,7 +42,7 @@ def test(): """Check that the search produces the right results""" dtest.start_daemon() dtest.create_user() - time.sleep(2) # give rescan a chance + dtest.rescan() global client client = disorder.client() first = ["Joe Bloggs/First Album/01:F\xC3\x8Crst track.ogg",