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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
6faa785f
Commit
6faa785f
authored
Nov 08, 2024
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_crm: (Test) Post a message dont re-open a Regularisation Request
parent
687c9774
Pipeline
#38002
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5CRMScenario.py
.../portal_components/test.erp5.testSlapOSERP5CRMScenario.py
+8
-2
No files found.
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5CRMScenario.py
View file @
6faa785f
...
...
@@ -255,16 +255,22 @@ class TestSlapOSCRMScenario(TestSlapOSVirtualMasterScenarioMixin):
self
.
assertNotEqual
(
regularisation_request
,
None
)
self
.
assertEqual
(
regularisation_request
.
getSimulationState
(),
'suspended'
)
with
PinnedDateTime
(
self
,
creation_date
+
32.1
):
self
.
login
(
owner_person
.
getUserId
())
# Ensure that posting a ticket dont re-open the ticket.
event
=
regularisation_request
.
Ticket_createProjectEvent
(
'foo'
,
'incoming'
,
'Web Message'
,
regularisation_request
.
getResource
(),
'bar'
,
"text/plain"
)
self
.
tic
()
self
.
assertEqual
(
regularisation_request
.
getSimulationState
(),
'validated'
)
self
.
assertEqual
(
event
.
getSimulationState
(),
'delivered'
)
self
.
assertEqual
(
regularisation_request
.
getSimulationState
(),
'suspended'
)
self
.
assertEqual
(
event
.
getSimulationState
(),
'stopped'
)
self
.
logout
()
self
.
login
()
regularisation_request
.
validate
()
##################################################
# Trigger regularisation request escalation
...
...
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