chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1c934d2
)
search.py waits for rescan to finish
author
Richard Kettlewell
<rjk@greenend.org.uk>
Wed, 23 Apr 2008 22:03:03 +0000
(23:03 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Wed, 23 Apr 2008 22:03:03 +0000
(23:03 +0100)
tests/search.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/search.py
b/tests/search.py
index dab3939933c9301145905a818d9e777f78613718..1b86bea25b89402866b7babf76130794ef3f2329 100755
(executable)
--- 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",