Commit 895da589 authored by Łukasz Nowak's avatar Łukasz Nowak

Pyflaked.

parent 6bf33b62
...@@ -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):
######################################## ########################################
......
...@@ -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'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment