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, 3 insertions, 0 deletions
diff --git a/tests/test_collection.py b/tests/test_collection.py
index 8d4cf88..6a65ff3 100644
--- a/tests/test_collection.py
+++ b/tests/test_collection.py
@@ -219,6 +219,9 @@ class testSimpleCollection(unittest.TestCase):
self.assertEqual(len(cm.output), 1)
self.assertIn("non_existing_file", cm.output[0])
+ def test_index_reset(self):
+ self.collection.update_cache(reset=True)
+
def test_get_entry_missing_eid(self):
entry = self.collection.entry_from_eid('this is not an eid')
self.assertIsNone(entry)