Skip to content

Commit

Permalink
Do not used removed assertEquals alias
Browse files Browse the repository at this point in the history
  • Loading branch information
shumpohl committed Jun 20, 2024
1 parent 21cd24b commit 91a783f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/serialization_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1527,8 +1527,8 @@ def test_convert_stored_pulse_in_storage_dest_not_empty_id_overlap(self) -> None
with self.assertRaises(ValueError):
convert_stored_pulse_in_storage('hugos_parent', source_backend, destination_backend)

self.assertEquals('already_existing_data', destination_backend['hugo'])
self.assertEquals(1, len(destination_backend.stored_items))
self.assertEqual('already_existing_data', destination_backend['hugo'])
self.assertEqual(1, len(destination_backend.stored_items))

def test_convert_stored_pulse_in_storage_dest_not_empty_no_id_overlap(self) -> None:
with warnings.catch_warnings():
Expand All @@ -1548,7 +1548,7 @@ def test_convert_stored_pulse_in_storage_dest_not_empty_no_id_overlap(self) -> N
destination_backend.put('ilse', 'already_existing_data')
convert_stored_pulse_in_storage('hugos_parent', source_backend, destination_backend)

self.assertEquals('already_existing_data', destination_backend['ilse'])
self.assertEqual('already_existing_data', destination_backend['ilse'])
pulse_storage = PulseStorage(destination_backend)
deserialized = pulse_storage['hugos_parent']
self.assertEqual(serializable, deserialized)
Expand Down

0 comments on commit 91a783f

Please sign in to comment.