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
18
Merge Requests
18
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
nexedi
slapos.core
Commits
33b05bcd
Commit
33b05bcd
authored
Sep 21, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_crm: (test) Ensure start date is set.
parent
c66eb7d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudTicketSlapInterfaceWorkflow.py
...s/test.erp5.testSlapOSCloudTicketSlapInterfaceWorkflow.py
+4
-0
No files found.
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCloudTicketSlapInterfaceWorkflow.py
View file @
33b05bcd
...
@@ -136,6 +136,8 @@ class TestSlapOSCoreTicketSlapInterfaceWorkflow(SlapOSTestCaseMixin):
...
@@ -136,6 +136,8 @@ class TestSlapOSCoreTicketSlapInterfaceWorkflow(SlapOSTestCaseMixin):
self
.
assertEqual
(
event
.
getPortalType
(),
"Web Message"
)
self
.
assertEqual
(
event
.
getPortalType
(),
"Web Message"
)
self
.
assertEqual
(
event
.
getDestination
(),
self
.
assertEqual
(
event
.
getDestination
(),
self
.
support_request
.
getSource
())
self
.
support_request
.
getSource
())
self
.
assertNotEqual
(
event
.
getStartDate
(),
None
)
def
test_SupportRequest_notify_noParameter
(
self
):
def
test_SupportRequest_notify_noParameter
(
self
):
self
.
assertRaises
(
TypeError
,
self
.
support_request
.
notify
)
self
.
assertRaises
(
TypeError
,
self
.
support_request
.
notify
)
...
@@ -179,6 +181,8 @@ class TestSlapOSCoreTicketSlapInterfaceWorkflow(SlapOSTestCaseMixin):
...
@@ -179,6 +181,8 @@ class TestSlapOSCoreTicketSlapInterfaceWorkflow(SlapOSTestCaseMixin):
self
.
support_request
.
getDestinationDecision
())
self
.
support_request
.
getDestinationDecision
())
self
.
assertEqual
(
event
.
getDestination
(),
self
.
assertEqual
(
event
.
getDestination
(),
self
.
support_request
.
getSourceSection
())
self
.
support_request
.
getSourceSection
())
self
.
assertNotEqual
(
event
.
getStartDate
(),
None
)
# Retry now to see if doesn't create a new message
# Retry now to see if doesn't create a new message
self
.
support_request
.
notify
(
self
.
support_request
.
notify
(
...
...
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