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
18
Merge Requests
18
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
4592c090
Commit
4592c090
authored
May 25, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix assertion.
First open order line is create immediately with dates.
parent
d562afbf
Changes
1
Hide 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 @
4592c090
...
...
@@ -150,11 +150,10 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
def
stepCheckThreeTopLevelSimulationMovement
(
self
,
sequence
,
**
kw
):
hosting_subscription
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'hosting_subscription_uid'
])
# 3 open order lines:
# * one without dates
# 2 open order lines:
# * one with start date and stop date
# * one with stop date extended by test
self
.
assertEqual
(
3
,
self
.
portal
.
portal_catalog
.
countResults
(
self
.
assertEqual
(
2
,
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