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
19
Merge Requests
19
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
e93c0ac3
Commit
e93c0ac3
authored
Mar 14, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow code change.
Open Order modification is a bit more optimised.
parent
dd75f1e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
+2
-3
No files found.
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
View file @
e93c0ac3
...
...
@@ -143,12 +143,11 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
def
stepCheckThreeTopLevelSimulationMovement
(
self
,
sequence
,
**
kw
):
hosting_subscription
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'hosting_subscription_uid'
])
#
4
open order lines:
#
3
open order lines:
# * one without dates
# * one with start date
# * one with start date and stop date
# * one with stop date extended by test
self
.
assertEqual
(
4
,
self
.
portal
.
portal_catalog
.
countResults
(
self
.
assertEqual
(
3
,
self
.
portal
.
portal_catalog
.
countResults
(
default_aggregate_uid
=
sequence
[
'hosting_subscription_uid'
],
portal_type
=
'Open Sale Order Line'
)[
0
][
0
]
)
...
...
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