diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-02-10 09:38:02 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-02-10 09:38:02 +0100 |
commit | 80df519ac361c93bd8de8e02c0cc2d693e82a59a (patch) | |
tree | 1cf16c468e61dfadd9bfe0b510a320dcddcaf4a4 /tests/test_collection.py | |
parent | 836b4106aeef9acd30a4fd4dbca00c5d90e9aef7 (diff) |
Rename the update method to auto.
Diffstat (limited to 'tests/test_collection.py')
-rw-r--r-- | tests/test_collection.py | 4 |
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 |