diff --git a/master/product/Vifib/tests/testVifibSlapBang.py b/master/product/Vifib/tests/testVifibSlapBang.py index de6142d7b108532e7f4ab2d3f2f853825030f601..56a80a8e33a17abb921bee5723ce41033107d021 100644 --- a/master/product/Vifib/tests/testVifibSlapBang.py +++ b/master/product/Vifib/tests/testVifibSlapBang.py @@ -85,8 +85,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ) def checkSoftwareInstanceBangMessage(self, count, software_instance): - bang_list = [q for q in software_instance.Base_getWorkflowHistoryItemList( - 'instance_slap_interface_workflow') + bang_list = [q for q in reversed(software_instance\ + .Base_getWorkflowHistoryItemList('instance_slap_interface_workflow')) if q.action == 'bang'] self.assertEqual(count, len(bang_list)) self.assertEqual(self.bang_message, bang_list[0].comment)