Commit 2380571e authored by Romain Courteaud's avatar Romain Courteaud

slapos_rss_style: test

parent aeb7d0a7
...@@ -95,6 +95,7 @@ class TestRSSSyleSkinsMixin(SlapOSTestCaseMixinWithAbort): ...@@ -95,6 +95,7 @@ class TestRSSSyleSkinsMixin(SlapOSTestCaseMixinWithAbort):
text_content=ticket.getTitle(), text_content=ticket.getTitle(),
content_type='text/plain' content_type='text/plain'
) )
ticket.submit()
self.tic() self.tic()
self.portal.portal_skins.changeSkin('RSS') self.portal.portal_skins.changeSkin('RSS')
return ticket return ticket
...@@ -358,11 +359,13 @@ class TestSlapOSFolder_getOpenTicketList(TestRSSSyleSkinsMixin): ...@@ -358,11 +359,13 @@ class TestSlapOSFolder_getOpenTicketList(TestRSSSyleSkinsMixin):
self.login() self.login()
ticket = self.newRegularisationRequest(customer) ticket = self.newRegularisationRequest(customer)
self.tic()
self.login(person.getUserId()) self.login(person.getUserId())
self._test_ticket(ticket, initial_amount + 1) self._test_ticket(ticket, initial_amount + 1)
self.login() self.login()
ticket = self.newRegularisationRequest(customer) ticket = self.newRegularisationRequest(customer)
self.tic()
self.login(person.getUserId()) self.login(person.getUserId())
self._test_ticket(ticket, initial_amount + 2) self._test_ticket(ticket, initial_amount + 2)
......
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