From c33040cf407d1be8ab9c22b29e641b0f76bc3d60 Mon Sep 17 00:00:00 2001 From: ecederstrand <erik@cederstrand.dk> Date: Tue, 14 May 2024 00:12:40 +0200 Subject: [PATCH] test: Assert that we get the expected master ID after refreshing --- tests/test_items/test_calendaritems.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_items/test_calendaritems.py b/tests/test_items/test_calendaritems.py index 889209d8..30b484f7 100644 --- a/tests/test_items/test_calendaritems.py +++ b/tests/test_items/test_calendaritems.py @@ -494,6 +494,7 @@ def test_get_master_recurrence(self): master_from_occurrence = third_occurrence.recurring_master() master_from_occurrence.refresh() # Test that GetItem works + self.assertEqual(master_from_occurrence.id, master_item.id) self.assertEqual(master_from_occurrence.recurrence, recurrence) self.assertEqual(master_from_occurrence.subject, master_item.subject)