Commit 70d62bc0 authored by Romain Courteaud's avatar Romain Courteaud

Dead code.

parent e180e78e
...@@ -111,59 +111,3 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by P ...@@ -111,59 +111,3 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by P
'Visited by Person_checkToCreateRegularisationRequest', 'Visited by Person_checkToCreateRegularisationRequest',
person.workflow_history['edit_workflow'][-1]['comment']) person.workflow_history['edit_workflow'][-1]['comment'])
# def test_alarm_not_suspended_support_request(self):
# new_id = self.generateNewId()
# payment = self.portal.accounting_module.newContent(
# portal_type='Payment Transaction',
# title="Payment %s" % new_id,
# reference="TESTPAY-%s" % new_id,
# )
# new_id = self.generateNewId()
# ticket = self.portal.support_request_module.newContent(
# portal_type='Support Request',
# title="Ticket %s" % new_id,
# reference="TESTSUPREQ-%s" % new_id,
# source_project_value=payment,
# )
# ticket.validate()
#
# self.tic()
# self._simulatePerson_checkToCreateRegularisationRequest()
# try:
# self.portal.portal_alarms.\
# slapos_payzen_update_suspended_support_request.activeSense()
# self.tic()
# finally:
# self._dropPerson_checkToCreateRegularisationRequest()
# self.assertNotEqual(
# 'Visited by Person_checkToCreateRegularisationRequest',
# ticket.workflow_history['edit_workflow'][-1]['comment'])
#
# def test_alarm_suspended_support_request(self):
# new_id = self.generateNewId()
# payment = self.portal.accounting_module.newContent(
# portal_type='Payment Transaction',
# title="Payment %s" % new_id,
# reference="TESTPAY-%s" % new_id,
# )
# new_id = self.generateNewId()
# ticket = self.portal.support_request_module.newContent(
# portal_type='Support Request',
# title="Ticket %s" % new_id,
# reference="TESTSUPREQ-%s" % new_id,
# source_project_value=payment,
# )
# ticket.validate()
# ticket.suspend()
#
# self.tic()
# self._simulatePerson_checkToCreateRegularisationRequest()
# try:
# self.portal.portal_alarms.\
# slapos_payzen_update_suspended_support_request.activeSense()
# self.tic()
# finally:
# self._dropPerson_checkToCreateRegularisationRequest()
# self.assertEqual(
# 'Visited by Person_checkToCreateRegularisationRequest',
# ticket.workflow_history['edit_workflow'][-1]['comment'])
10 11
\ No newline at end of file \ No newline at end of file
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