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
Lu Xu
slapos.core
Commits
9b4155bb
Commit
9b4155bb
authored
Mar 11, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test default ticket resource.
parent
d0f0cf5d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
master/bt5/slapos_crm/TestTemplateItem/testSlapOSCRMSkins.py
master/bt5/slapos_crm/TestTemplateItem/testSlapOSCRMSkins.py
+4
-0
master/bt5/slapos_crm/bt/revision
master/bt5/slapos_crm/bt/revision
+1
-1
No files found.
master/bt5/slapos_crm/TestTemplateItem/testSlapOSCRMSkins.py
View file @
9b4155bb
...
@@ -55,6 +55,8 @@ class TestSlapOSPerson_checkToCreateRegularisationRequest(testSlapOSMixin):
...
@@ -55,6 +55,8 @@ class TestSlapOSPerson_checkToCreateRegularisationRequest(testSlapOSMixin):
self
.
assertEquals
(
ticket
.
getPortalType
(),
'Regularisation Request'
)
self
.
assertEquals
(
ticket
.
getPortalType
(),
'Regularisation Request'
)
self
.
assertEquals
(
ticket
.
getSimulationState
(),
'suspended'
)
self
.
assertEquals
(
ticket
.
getSimulationState
(),
'suspended'
)
self
.
assertEquals
(
ticket
.
getSourceProject
(),
person
.
getRelativeUrl
())
self
.
assertEquals
(
ticket
.
getSourceProject
(),
person
.
getRelativeUrl
())
self
.
assertEquals
(
ticket
.
getResource
(),
'service_module/slapos_crm_acknowledgement'
)
self
.
assertEquals
(
ticket
.
getTitle
(),
self
.
assertEquals
(
ticket
.
getTitle
(),
'Account regularisation expected for "%s"'
%
person
.
getTitle
())
'Account regularisation expected for "%s"'
%
person
.
getTitle
())
self
.
assertEquals
(
ticket
.
getDestination
(),
self
.
assertEquals
(
ticket
.
getDestination
(),
...
@@ -62,6 +64,8 @@ class TestSlapOSPerson_checkToCreateRegularisationRequest(testSlapOSMixin):
...
@@ -62,6 +64,8 @@ class TestSlapOSPerson_checkToCreateRegularisationRequest(testSlapOSMixin):
self
.
assertEquals
(
ticket
.
getDestinationDecision
(),
self
.
assertEquals
(
ticket
.
getDestinationDecision
(),
person
.
getRelativeUrl
())
person
.
getRelativeUrl
())
self
.
assertEquals
(
event
.
getPortalType
(),
'Mail Message'
)
self
.
assertEquals
(
event
.
getPortalType
(),
'Mail Message'
)
self
.
assertEquals
(
event
.
getResource
(),
'service_module/slapos_crm_acknowledgement'
)
self
.
assertTrue
(
event
.
getStartDate
()
>=
before_date
)
self
.
assertTrue
(
event
.
getStartDate
()
>=
before_date
)
self
.
assertTrue
(
event
.
getStopDate
()
<=
after_date
)
self
.
assertTrue
(
event
.
getStopDate
()
<=
after_date
)
self
.
assertEquals
(
event
.
getTitle
(),
"Invoice payment requested"
)
self
.
assertEquals
(
event
.
getTitle
(),
"Invoice payment requested"
)
...
...
master/bt5/slapos_crm/bt/revision
View file @
9b4155bb
13
14
\ No newline at end of file
\ 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