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
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
Lu Xu
slapos.core
Commits
f15ed03c
Commit
f15ed03c
authored
Mar 12, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New logic.
parent
e908c7f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
+6
-1
No files found.
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
View file @
f15ed03c
...
@@ -148,7 +148,12 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
...
@@ -148,7 +148,12 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
def
stepCheckThreeTopLevelSimulationMovement
(
self
,
sequence
,
**
kw
):
def
stepCheckThreeTopLevelSimulationMovement
(
self
,
sequence
,
**
kw
):
hosting_subscription
=
self
.
portal
.
portal_catalog
.
getResultValue
(
hosting_subscription
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'hosting_subscription_uid'
])
uid
=
sequence
[
'hosting_subscription_uid'
])
self
.
assertEqual
(
2
,
self
.
portal
.
portal_catalog
.
countResults
(
# 4 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
(
default_aggregate_uid
=
sequence
[
'hosting_subscription_uid'
],
default_aggregate_uid
=
sequence
[
'hosting_subscription_uid'
],
portal_type
=
'Open Sale Order Line'
)[
0
][
0
]
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