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
Boxiang Sun
slapos.core
Commits
947682b9
Commit
947682b9
authored
May 29, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fetch document from instance
parent
5665b374
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+6
-5
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
947682b9
...
@@ -624,11 +624,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -624,11 +624,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software instance"""
software instance"""
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'software_instance_uid'
])
uid
=
sequence
[
'software_instance_uid'
])
delivery_line
=
[
q
for
q
in
software_instance
computer_partition
=
software_instance
.
getAggregateValue
(
.
getAggregateRelatedValueList
(
portal_type
=
self
.
sale_packing_list_line_portal_type
)
if
q
.
getSimulationState
()
in
[
'confirmed'
,
'started'
,
'stopped'
]][
0
]
computer_partition
=
delivery_line
.
getAggregateValue
(
portal_type
=
self
.
computer_partition_portal_type
)
portal_type
=
self
.
computer_partition_portal_type
)
sequence
.
edit
(
sequence
.
edit
(
computer_partition_uid
=
computer_partition
.
getUid
(),
computer_partition_uid
=
computer_partition
.
getUid
(),
...
@@ -3248,6 +3244,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -3248,6 +3244,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
default_aggregate_uid
=
sequence
[
'computer_partition_uid'
])
default_aggregate_uid
=
sequence
[
'computer_partition_uid'
])
delivery
=
software_instance
.
getCausalityValue
(
delivery
=
software_instance
.
getCausalityValue
(
portal_type
=
"Sale Packing List"
)
portal_type
=
"Sale Packing List"
)
if
delivery
is
None
:
order
=
software_instance
.
getCausalityValue
(
portal_type
=
"Sale Order"
)
delivery
=
order
.
getCausalityRelatedValue
(
portal_type
=
"Sale Packing List"
)
sequence
.
edit
(
sale_packing_list_uid
=
delivery
.
getUid
())
sequence
.
edit
(
sale_packing_list_uid
=
delivery
.
getUid
())
def
stepCheckSalePackingListErrorText
(
self
,
sequence
,
**
kw
):
def
stepCheckSalePackingListErrorText
(
self
,
sequence
,
**
kw
):
...
...
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