Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.core
Commits
70d62bc0
Commit
70d62bc0
authored
Mar 06, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dead code.
parent
e180e78e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
57 deletions
+1
-57
master/bt5/slapos_crm/TestTemplateItem/testSlapOSCRMAlarm.py
master/bt5/slapos_crm/TestTemplateItem/testSlapOSCRMAlarm.py
+0
-56
master/bt5/slapos_crm/bt/revision
master/bt5/slapos_crm/bt/revision
+1
-1
No files found.
master/bt5/slapos_crm/TestTemplateItem/testSlapOSCRMAlarm.py
View file @
70d62bc0
...
...
@@ -111,59 +111,3 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by P
'Visited by Person_checkToCreateRegularisationRequest'
,
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'])
master/bt5/slapos_crm/bt/revision
View file @
70d62bc0
10
\ No newline at end of file
11
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment