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
Eric Zheng
slapos.core
Commits
9c5855dc
Commit
9c5855dc
authored
May 21, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sale packing list are now created quicker.
parent
749b68e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+6
-6
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
9c5855dc
...
...
@@ -999,10 +999,10 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
prepare_computer
=
"""
LoginTestVifibAdmin
CustomerRegisterNewComputer
Tic
Clean
Tic
SetComputerCoordinatesFromComputerTitle
ComputerSetAllocationScopeOpenPublic
Tic
Clean
Tic
CheckComputerTradeConditionDestinationSectionListEmpty
Logout
"""
...
...
@@ -3695,11 +3695,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def
_checkSoftwareInstanceAndRelatedPartition
(
self
,
software_instance
,
partition_portal_type
=
computer_partition_portal_type
):
# There should be
only one
Sale Packing List Line
# There should be
two
Sale Packing List Line
sale_packing_list_line_list
=
software_instance
\
.
getAggregateRelatedValueList
(
portal_type
=
self
.
sale_packing_list_line_portal_type
)
self
.
assertEqual
(
1
,
len
(
sale_packing_list_line_list
))
self
.
assertEqual
(
2
,
len
(
sale_packing_list_line_list
))
sale_packing_list_line
=
sale_packing_list_line_list
[
0
]
# This Sale Packing List Line shall have only one Computer Partition
...
...
@@ -3709,11 +3709,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
computer_partition
=
computer_partition_list
[
0
]
# This Computer Partition shall have
only
Sale Packing List Line related
# This Computer Partition shall have
two
Sale Packing List Line related
computer_partition_sale_packing_list_line_list
=
computer_partition
\
.
getAggregateRelatedValueList
(
portal_type
=
self
.
sale_packing_list_line_portal_type
)
self
.
assertEqual
(
1
,
len
(
computer_partition_sale_packing_list_line_list
))
self
.
assertEqual
(
2
,
len
(
computer_partition_sale_packing_list_line_list
))
def
stepCheckPersonRequestedSoftwareInstanceAndRelatedComputerPartition
(
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