Commit dee57eba authored by Rafael Monnerat's avatar Rafael Monnerat

squash! slapos_crm: rss drop

parent 3d2a6df2
Pipeline #36939 failed with stage
in 0 seconds
...@@ -400,36 +400,6 @@ class TestCRMPropertySheetConstraint(SlapOSTestCaseMixin): ...@@ -400,36 +400,6 @@ class TestCRMPropertySheetConstraint(SlapOSTestCaseMixin):
self.assertFalse(event.checkConsistency()) self.assertFalse(event.checkConsistency())
class TestSlapOSFolder_getTicketFeedUrl(TestCRMSkinsMixin):
def _test(self, module):
self.assertRaises(ValueError, module.Folder_getTicketFeedUrl)
person = self.makePerson(self.project, user=1)
self.addProjectProductionManagerAssignment(person, self.project)
self.tic()
self.login(person.getUserId())
url = module.Folder_getTicketFeedUrl()
self.assertIn('Folder_viewOpenTicketList', url)
self.assertIn(module.absolute_url(), url)
self.assertIn('access_token_secret', url)
self.assertIn('access_token=', url)
self.assertIn('portal_skin=RSS', url)
self.tic()
self.assertEqual(url, module.Folder_getTicketFeedUrl())
def test_Folder_getTicketFeedUrl_support_request_module(self):
self._test(self.portal.support_request_module)
def test_Folder_getTicketFeedUrl_regularisation_request_module(self):
self._test(self.portal.regularisation_request_module)
def test_Folder_getTicketFeedUrl_incident_response_module(self):
self._test(self.portal.incident_response_module)
class TestTicket_createProjectEvent(TestCRMSkinsMixin): class TestTicket_createProjectEvent(TestCRMSkinsMixin):
def createUsualTicket(self): def createUsualTicket(self):
......
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