aboutsummaryrefslogtreecommitdiff
path: root/tests/test_collection.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-01-10 11:33:37 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-01-10 11:33:37 +0100
commit98a1295f76677ffffb640dfb534c398da1265e9e (patch)
tree045bb1b557a4641615583882995d8d520f4b3fde /tests/test_collection.py
parent1b51ac55d3863e2800d3eabddef7e861c49d5d62 (diff)
Testing indexing entries with ' in the string/text fields
Diffstat (limited to 'tests/test_collection.py')
-rw-r--r--tests/test_collection.py3
1 files changed, 2 insertions, 1 deletions
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'])