From 9b12691ad66269ca8b67e80516548e8ae10bd7b2 Mon Sep 17 00:00:00 2001 From: RaNaN <Mast3rRaNaN@hotmail.de> Date: Tue, 5 Mar 2013 23:21:44 +0100 Subject: working search suggestions --- tests/other/test_filedatabase.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/other') 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") -- cgit v1.2.3