chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHANGES -> CHANGES.html in debian scripts too
[disorder]
/
tests
/
search.py
diff --git
a/tests/search.py
b/tests/search.py
index dab3939933c9301145905a818d9e777f78613718..5e3d2008c7deb0d8231a48810905844816e7495a 100755
(executable)
--- a/
tests/search.py
+++ b/
tests/search.py
@@
-1,7
+1,7
@@
#! /usr/bin/env python
#
# This file is part of DisOrder.
#! /usr/bin/env python
#
# This file is part of DisOrder.
-# Copyright (C) 2007 Richard Kettlewell
+# Copyright (C) 2007
, 2008
Richard Kettlewell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-42,7
+42,7
@@
def test():
"""Check that the search produces the right results"""
dtest.start_daemon()
dtest.create_user()
"""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",
global client
client = disorder.client()
first = ["Joe Bloggs/First Album/01:F\xC3\x8Crst track.ogg",