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
8c4dd6f7
Commit
8c4dd6f7
authored
Dec 27, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check invoices causality states.
parent
a7df8e82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
...ct/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
+6
-0
No files found.
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
View file @
8c4dd6f7
...
@@ -190,6 +190,9 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
...
@@ -190,6 +190,9 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
resource_relative_url
=
subscription_resource
)
resource_relative_url
=
subscription_resource
)
self
.
assertEqual
(
0
,
len
(
subscription_invoice_line_list
))
self
.
assertEqual
(
0
,
len
(
subscription_invoice_line_list
))
# invoice shall be solved
self
.
assertEqual
(
'solved'
,
setup_invoice_line_list
[
0
].
getCausalityState
())
sequence
.
edit
(
sequence
.
edit
(
subscription_delivery_uid_list
=
[
q
.
getParentValue
().
getUid
()
for
q
in
\
subscription_delivery_uid_list
=
[
q
.
getParentValue
().
getUid
()
for
q
in
\
subscription_delivery_line_list
]
subscription_delivery_line_list
]
...
@@ -273,6 +276,9 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
...
@@ -273,6 +276,9 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
subscription_invoice_line_list
[
0
].
getParentValue
().
getRelativeUrl
()
subscription_invoice_line_list
[
0
].
getParentValue
().
getRelativeUrl
()
)
)
# invoice shall be solved
self
.
assertEqual
(
'solved'
,
setup_invoice_line_list
[
0
].
getCausalityState
())
def
test_OpenOrder_sale_packing_list
(
self
):
def
test_OpenOrder_sale_packing_list
(
self
):
"""
"""
Check that sale_packing_list is generated properly from simulation
Check that sale_packing_list is generated properly from simulation
...
...
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