aboutsummaryrefslogtreecommitdiff
path: root/tests/test_collection.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_collection.py')
-rw-r--r--tests/test_collection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_collection.py b/tests/test_collection.py
index 84c535d..c792f29 100644
--- a/tests/test_collection.py
+++ b/tests/test_collection.py
@@ -122,7 +122,7 @@ class testEntries(unittest.TestCase):
eid = '11189ee47ddf4796b718a483b379f976'
entry = self.collection.entry_from_eid(eid)
old_data = entry.data.copy()
- entry.update()
+ entry.auto()
self.assertEqual(old_data, entry.data)
@@ -429,7 +429,7 @@ class testComplexCollection(unittest.TestCase):
self.assertEqual(entry.data['updated'], None)
self.assertEqual(entry.data['version'], 0)
- entry.update()
+ entry.auto()
# after the update, fields that were not supposed to be updated
# are equal to what they were before, while updated has been