There was an error while loading. Please reload this page.
1 parent 75cdfdf commit c4b0c2cCopy full SHA for c4b0c2c
1 file changed
rma/tests/test_rma.py
@@ -998,8 +998,7 @@ def test_send_delivery_notification(self):
998
self.assertEqual(rma.delivery_move_ids.picking_id.state, "done")
999
self.assertEqual(rma.state, "replaced")
1000
new_messages = rma.message_ids - messages
1001
- self.assertTrue(new_messages)
1002
- self.assertIn(
1003
- "We are pleased to inform you that your product Product test",
1004
- "".join(new_messages.mapped("body")),
+ self.assertTrue(
+ new_messages,
+ "No message was posted on the RMA after delivery validation",
1005
)
0 commit comments