summaryrefslogtreecommitdiffstats
path: root/tests/other/test_filedatabase.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/other/test_filedatabase.py')
-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")