def test():
"""Check that the search produces the right results"""
dtest.start_daemon()
+ dtest.create_user()
time.sleep(2) # give rescan a chance
global client
client = disorder.client()
check_search_results([u"fi\u0300rst"], first)
check_search_results([u"THI\u0301RD"], third)
check_search_results([u"thI\u0301rd"], third)
+ # stopwords shouldn't show up
+ check_search_results(["01"], [])
if failures > 0:
sys.exit(1)