From: Richard Kettlewell Date: Wed, 23 Apr 2008 22:03:03 +0000 (+0100) Subject: search.py waits for rescan to finish X-Git-Tag: 5.0.3~113 X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/commitdiff_plain/f40beeb3951cae0bcdd1ea7f46ed2be4d5983b95 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",