Commit 924098a8 authored by Łukasz Nowak's avatar Łukasz Nowak

Invert to see the most interesting on the top.

parent 6872ca03
...@@ -85,8 +85,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -85,8 +85,8 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
) )
def checkSoftwareInstanceBangMessage(self, count, software_instance): def checkSoftwareInstanceBangMessage(self, count, software_instance):
bang_list = [q for q in software_instance.Base_getWorkflowHistoryItemList( bang_list = [q for q in reversed(software_instance\
'instance_slap_interface_workflow') .Base_getWorkflowHistoryItemList('instance_slap_interface_workflow'))
if q.action == 'bang'] if q.action == 'bang']
self.assertEqual(count, len(bang_list)) self.assertEqual(count, len(bang_list))
self.assertEqual(self.bang_message, bang_list[0].comment) self.assertEqual(self.bang_message, bang_list[0].comment)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment