From 80df519ac361c93bd8de8e02c0cc2d693e82a59a Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Wed, 10 Feb 2021 09:38:02 +0100 Subject: Rename the update method to auto. --- tests/test_collection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_collection.py') 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 -- cgit v1.2.3