diff --git a/pms/tests/test_product_template.py b/pms/tests/test_product_template.py index b0f49aaf8..730d77e5f 100644 --- a/pms/tests/test_product_template.py +++ b/pms/tests/test_product_template.py @@ -164,6 +164,7 @@ class TestProductTemplate(TestPms): "board_service_room_id": board_service_room_type.id, } ) + reservation.flush() # ASSERT self.assertEqual( reservation.service_ids.service_line_ids.day_qty, @@ -212,6 +213,7 @@ class TestProductTemplate(TestPms): "board_service_room_id": board_service_room_type.id, } ) + reservation.flush() # ASSERT # self.assertTrue(reservation, "The reservation should have been created.") # ASSERT