Commit aac8b6c1 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: testSlapOSCRMSkins: The order of the elements of portal_catalog...

slapos_crm: testSlapOSCRMSkins: The order of the elements of portal_catalog are not always the same.
parent d8a16a09
......@@ -81,7 +81,7 @@ class TestSlapOSFolder_getOpenTicketList(TestCRMSkinsMixin):
ticket.immediateReindexObject()
open_ticket_list = module.Folder_getOpenTicketList(title=ticket.getTitle())
self.assertEqual(len(open_ticket_list), expected_amount)
self.assertEqual(open_ticket_list[0].getUid(), ticket.getUid())
self.assertTrue(ticket.getUid() in [i.getUid() for i in open_ticket_list])
ticket.start()
ticket.immediateReindexObject()
......@@ -98,7 +98,7 @@ class TestSlapOSFolder_getOpenTicketList(TestCRMSkinsMixin):
ticket.immediateReindexObject()
open_ticket_list = module.Folder_getOpenTicketList(title=ticket.getTitle())
self.assertEqual(len(open_ticket_list), expected_amount)
self.assertEqual(open_ticket_list[0].getUid(), ticket.getUid())
self.assertTrue(ticket.getUid() in [i.getUid() for i in open_ticket_list])
def test_support_request(self):
def newSupportRequest():
......
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