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
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
Sven Franck
erp5
Commits
7371afec
Commit
7371afec
authored
Sep 18, 2015
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testInventory: Use actual optimisation-disabling parameter name.
parent
c7151242
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5/tests/testInventory.py
product/ERP5/tests/testInventory.py
+3
-3
No files found.
product/ERP5/tests/testInventory.py
View file @
7371afec
...
...
@@ -2351,7 +2351,7 @@ class TestInventory(TestOrderMixin, ERP5TypeTestCase):
resource_uid
=
resource_value
.
getUid
())
self
.
_testGetInventory
(
expected
=
3
,
resource_uid
=
resource_value
.
getUid
(),
optimis
e
__
=
False
)
optimis
ation
__
=
False
)
def
stepTestFullInventoryMultipleNodeAndResource
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
...
...
@@ -2544,7 +2544,7 @@ class TestInventory(TestOrderMixin, ERP5TypeTestCase):
node_uid
=
node_value
.
getUid
(),
resource_uid
=
resource_value
.
getUid
())
self
.
_testGetInventory
(
expected
=
100
,
optimis
e
__
=
False
,
optimis
ation
__
=
False
,
to_date
=
DateTime
(
self
.
full_inventory_start_date_1
),
section_uid
=
section_value
.
getUid
(),
node_uid
=
node_value
.
getUid
(),
...
...
@@ -2999,7 +2999,7 @@ class TestInventory(TestOrderMixin, ERP5TypeTestCase):
[test]
getInventory(resource=X) should return 3
getInventory(resource=X, optimis
e
__=False) should return 3
getInventory(resource=X, optimis
ation
__=False) should return 3
"""
if
not
run
:
return
...
...
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