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
0
Merge Requests
0
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
Rafael Monnerat
slapos.core
Commits
79a55755
Commit
79a55755
authored
Mar 14, 2012
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to filter in python
parent
bb47c6cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+5
-3
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
79a55755
...
...
@@ -402,11 +402,13 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
computer_partition
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'computer_partition_uid'
])
delivery_line_list
=
[
q
.
getObject
()
for
q
in
self
.
portal
.
portal_catalog
(
aggregate_relative_url
=
computer_partition
.
getRelativeUrl
(),
default_aggregate_uid
=
ComplexQuery
(
Query
(
default_aggregate_uid
=
computer_partition
.
getUid
()),
Query
(
default_aggregate_uid
=
sequence
[
'software_instance_uid'
]),
operator
=
"AND"
),
portal_type
=
self
.
sale_packing_list_line_portal_type
,
simulation_state
=
state
,
resource_relative_url
=
resource
)
if
sequence
[
'software_instance_uid'
]
in
q
.
getAggregateUidList
()]
resource_relative_url
=
resource
)]
self
.
assertEqual
(
delivery_line_amount
,
len
(
delivery_line_list
))
def
_checkComputerPartitionNoSalePackingList
(
self
,
resource
,
sequence
):
...
...
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