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
Guillaume Hervier
slapos.core
Commits
d98ad70d
Commit
d98ad70d
authored
May 28, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Instance setup packing list is delivered immediately.
parent
1ff6255f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
...ct/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
+9
-9
No files found.
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
View file @
d98ad70d
...
...
@@ -113,7 +113,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
resource_relative_url
=
hosting_resource
)
self
.
assertEqual
(
0
,
len
(
hosting_invoice_line_list
))
# setup is
stopp
ed, and has there is invoice
# setup is
deliver
ed, and has there is invoice
setup_delivery_line_list
=
catalog
(
portal_type
=
'Sale Packing List Line'
,
aggregate_relative_url
=
hosting_subscription_url
,
resource_relative_url
=
setup_resource
)
...
...
@@ -191,13 +191,13 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
resource_relative_url
=
sequence
[
'hosting_resource'
])
self
.
assertEqual
(
0
,
len
(
hosting_invoice_line_list
))
# setup is
stopp
ed, and has there is invoice
# setup is
deliver
ed, and has there is invoice
setup_delivery_line_list
=
catalog
(
portal_type
=
'Sale Packing List Line'
,
aggregate_relative_url
=
hosting_subscription_url
,
resource_relative_url
=
sequence
[
'setup_resource'
])
self
.
assertEqual
(
1
,
len
(
setup_delivery_line_list
))
self
.
assertEqual
(
'
stopp
ed'
,
setup_delivery_line_list
[
0
]
\
self
.
assertEqual
(
'
deliver
ed'
,
setup_delivery_line_list
[
0
]
\
.
getSimulationState
())
setup_invoice_line_list
=
catalog
(
portal_type
=
'Invoice Line'
,
...
...
@@ -273,13 +273,13 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
resource_relative_url
=
sequence
[
'hosting_resource'
])
self
.
assertEqual
(
0
,
len
(
hosting_invoice_line_list
))
# setup is
stopp
ed, and has there is invoice
# setup is
deliver
ed, and has there is invoice
setup_delivery_line_list
=
catalog
(
portal_type
=
'Sale Packing List Line'
,
aggregate_relative_url
=
hosting_subscription_url
,
resource_relative_url
=
sequence
[
'setup_resource'
])
self
.
assertEqual
(
1
,
len
(
setup_delivery_line_list
))
self
.
assertEqual
(
'
stopp
ed'
,
setup_delivery_line_list
[
0
]
\
self
.
assertEqual
(
'
deliver
ed'
,
setup_delivery_line_list
[
0
]
\
.
getSimulationState
())
setup_invoice_line_list
=
catalog
(
portal_type
=
'Invoice Line'
,
...
...
@@ -372,13 +372,13 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
resource_relative_url
=
sequence
[
'hosting_resource'
])
self
.
assertEqual
(
0
,
len
(
hosting_invoice_line_list
))
# setup is
stopp
ed, and has there is invoice
# setup is
deliver
ed, and has there is invoice
setup_delivery_line_list
=
catalog
(
portal_type
=
'Sale Packing List Line'
,
aggregate_relative_url
=
hosting_subscription_url
,
resource_relative_url
=
sequence
[
'setup_resource'
])
self
.
assertEqual
(
1
,
len
(
setup_delivery_line_list
))
self
.
assertEqual
(
'
stopp
ed'
,
setup_delivery_line_list
[
0
]
\
self
.
assertEqual
(
'
deliver
ed'
,
setup_delivery_line_list
[
0
]
\
.
getSimulationState
())
setup_invoice_line_list
=
catalog
(
portal_type
=
'Invoice Line'
,
...
...
@@ -479,13 +479,13 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
resource_relative_url
=
sequence
[
'hosting_resource'
])
self
.
assertEqual
(
0
,
len
(
hosting_invoice_line_list
))
# setup is
stopp
ed, and has there is invoice
# setup is
deliver
ed, and has there is invoice
setup_delivery_line_list
=
catalog
(
portal_type
=
'Sale Packing List Line'
,
aggregate_relative_url
=
hosting_subscription_url
,
resource_relative_url
=
sequence
[
'setup_resource'
])
self
.
assertEqual
(
1
,
len
(
setup_delivery_line_list
))
self
.
assertEqual
(
'
stopp
ed'
,
setup_delivery_line_list
[
0
]
\
self
.
assertEqual
(
'
deliver
ed'
,
setup_delivery_line_list
[
0
]
\
.
getSimulationState
())
setup_invoice_line_list
=
catalog
(
portal_type
=
'Invoice Line'
,
...
...
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