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
Paul Graydon
slapos.core
Commits
895da589
Commit
895da589
authored
Aug 17, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pyflaked.
parent
6bf33b62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
...ib/tests/testVifibSlapComputerGetComputerPartitionList.py
+0
-1
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+0
-4
No files found.
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
View file @
895da589
...
@@ -4,7 +4,6 @@ from Products.ERP5Type.tests.backportUnittest import skip
...
@@ -4,7 +4,6 @@ from Products.ERP5Type.tests.backportUnittest import skip
import
transaction
import
transaction
import
unittest
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
class
TestVifibSlapComputerGetComputerPartitionList
(
TestVifibSlapWebServiceMixin
):
class
TestVifibSlapComputerGetComputerPartitionList
(
TestVifibSlapWebServiceMixin
):
########################################
########################################
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
895da589
...
@@ -597,8 +597,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -597,8 +597,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
shared
=
kw
.
get
(
'shared'
,
False
),
shared
=
kw
.
get
(
'shared'
,
False
),
state
=
kw
[
'state'
])
state
=
kw
[
'state'
])
software_instance_portal_type
=
kw
.
get
(
"instance_portal_type"
,
self
.
software_instance_portal_type
)
software_instance
=
self
.
portal
.
REQUEST
.
get
(
'request_instance'
)
software_instance
=
self
.
portal
.
REQUEST
.
get
(
'request_instance'
)
hosting_subscription
=
self
.
portal
.
REQUEST
.
get
(
'request_hosting_subscription'
)
hosting_subscription
=
self
.
portal
.
REQUEST
.
get
(
'request_hosting_subscription'
)
if
(
software_instance
is
not
None
):
if
(
software_instance
is
not
None
):
...
@@ -3266,8 +3264,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -3266,8 +3264,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def
stepSelectCurrentlyUsedSalePackingListUid
(
self
,
sequence
,
**
kw
):
def
stepSelectCurrentlyUsedSalePackingListUid
(
self
,
sequence
,
**
kw
):
"""Sets sale_packing_list_uid to currently used to mach Computer Partition
"""Sets sale_packing_list_uid to currently used to mach Computer Partition
and Software Instance"""
and Software Instance"""
computer_partition
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'computer_partition_uid'
])
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Software Instance"
,
portal_type
=
"Software Instance"
,
default_aggregate_uid
=
sequence
[
'computer_partition_uid'
])
default_aggregate_uid
=
sequence
[
'computer_partition_uid'
])
...
...
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