From 98a1295f76677ffffb640dfb534c398da1265e9e Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 10 Jan 2021 11:33:37 +0100 Subject: Testing indexing entries with ' in the string/text fields --- tests/test_collection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_collection.py') diff --git a/tests/test_collection.py b/tests/test_collection.py index 850ac27..4668096 100644 --- a/tests/test_collection.py +++ b/tests/test_collection.py @@ -279,7 +279,8 @@ class testComplexCollection(unittest.TestCase): self.assertEqual(len(self.collection.indexed_fields), 7) def test_index(self): - self.collection.update_cache() + indexed = self.collection.update_cache() + self.assertEqual(indexed, 9) def test_indexing_list(self): self.collection.update_cache(['73097121f1874a6ea2f927db7dc4f11e.yaml']) -- cgit v1.2.3