summaryrefslogtreecommitdiff
path: root/tests/test_collection.py
diff options
context:
space:
mode:
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'])