summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-05 23:21:44 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-05 23:21:44 +0100
commit9b12691ad66269ca8b67e80516548e8ae10bd7b2 (patch)
tree6df55bd94d02b216cb2ec51899f0d0e78899d3e2 /tests
parentfixed position of autocompletion, updated libraries (diff)
downloadpyload-9b12691ad66269ca8b67e80516548e8ae10bd7b2.tar.xz
working search suggestions
Diffstat (limited to 'tests')
-rw-r--r--tests/other/test_filedatabase.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/other/test_filedatabase.py b/tests/other/test_filedatabase.py
index 314377db8..3a63b75d5 100644
--- a/tests/other/test_filedatabase.py
+++ b/tests/other/test_filedatabase.py
@@ -120,6 +120,9 @@ class TestDatabase(BenchmarkTest):
f = choice(files.values())
assert "1" in f.name
+ names = self.db.getMatchingFilenames("1")
+ for name in names:
+ assert "1" in name
def test_collector(self):
self.db.saveCollector(0, "data")