Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
643f9163
Commit
643f9163
authored
Feb 06, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify testOrder
parent
b1365c28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
product/ERP5/tests/testOrder.py
product/ERP5/tests/testOrder.py
+1
-5
No files found.
product/ERP5/tests/testOrder.py
View file @
643f9163
...
...
@@ -328,12 +328,8 @@ class TestOrderMixin(SubcontentReindexingWrapper):
portal
=
self
.
getPortal
()
order_module
=
portal
.
getDefaultModule
(
portal_type
=
self
.
order_portal_type
)
order
=
order_module
.
newContent
(
portal_type
=
self
.
order_portal_type
)
test_name
=
"%s.%s.%s"
%
(
self
.
__class__
.
__module__
,
self
.
__class__
.
__name__
,
self
.
_testMethodName
)
order
.
edit
(
title
=
"Order%s (%s)"
%
(
order
.
getId
(),
test_name
),
title
=
"Order%s (%s)"
%
(
order
.
getId
(),
self
.
id
()
),
start_date
=
self
.
datetime
+
10
,
stop_date
=
self
.
datetime
+
20
,
specialise
=
self
.
business_process
,
...
...
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