Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Bryan Kaperick
erp5
Commits
f51c7022
Commit
f51c7022
authored
Apr 29, 2013
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix random failure and improve test to filter the query by portal_type
parent
418dbdd3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5/tests/testCRM.py
product/ERP5/tests/testCRM.py
+3
-3
No files found.
product/ERP5/tests/testCRM.py
View file @
f51c7022
...
...
@@ -161,7 +161,7 @@ class TestCRM(BaseTestCRM):
title
=
'Incoming Title'
,
description
=
'New Desc'
)
self
.
tic
()
new_event
=
ticket
.
getFollowUpRelatedValueList
()[
0
]
new_event
,
=
ticket
.
getFollowUpRelatedValueList
(
portal_type
=
ptype
)
self
.
assertEquals
(
'stopped'
,
new_event
.
getSimulationState
())
# outgoing
...
...
@@ -170,8 +170,8 @@ class TestCRM(BaseTestCRM):
title
=
'Outgoing Title'
,
description
=
'New Desc'
)
self
.
tic
()
new_event
=
[
event
for
event
in
ticket
.
getFollowUpRelatedValueList
(
)
if
\
event
.
getTitle
()
==
'Outgoing Title'
]
[
0
]
new_event
,
=
[
event
for
event
in
ticket
.
getFollowUpRelatedValueList
(
portal_type
=
ptype
)
if
\
event
.
getTitle
()
==
'Outgoing Title'
]
self
.
assertEquals
(
'planned'
,
new_event
.
getSimulationState
())
def
test_Ticket_CreateRelatedEventUnauthorized
(
self
):
...
...
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