Commit 99c1a649 authored by Łukasz Nowak's avatar Łukasz Nowak

Pyflaked.

parent 1a93df24
......@@ -4,7 +4,6 @@ from Products.SlapOS.tests.testSlapOSMixin import \
from Products.ERP5Type.tests.SecurityTestCase import SecurityTestCase
from Products.ERP5Type.tests.backportUnittest import expectedFailure
from AccessControl import Unauthorized
import transaction
READ = 'Access contents information'
VIEW = 'View'
......@@ -188,9 +187,6 @@ class TestSlapOSCache(testSlapOSMixin, SecurityTestCase):
def test_PDFPermission(self):
self._testDocumentPermission(self.portal.document_module, "PDF")
def test_DrawingLocalRole(self):
self._testDocumentPermission(self.portal.document_module, "Drawing")
def test_ImagePermission(self):
self._testDocumentPermission(self.portal.image_module, "Image")
......@@ -230,9 +226,6 @@ class TestSlapOSCache(testSlapOSMixin, SecurityTestCase):
def test_DocumentModulePermission(self):
self._testModulePermission(self.portal.document_module)
def test_DocumentModulePermission(self):
self._testModulePermission(self.portal.image_module)
# Contribution Tool
@expectedFailure
def test_user_create_document_using_contribution_tool(self):
......
4
\ No newline at end of file
5
\ No newline at end of file
......@@ -2,7 +2,6 @@
from Products.SlapOS.tests.testSlapOSMixin import \
testSlapOSMixin
import transaction
from Products.ERP5Type.tests.backportUnittest import expectedFailure
from Products.ERP5Type.Errors import UnsupportedWorkflowMethod
class TestSlapOSCorePersonComputerSupply(testSlapOSMixin):
......
......@@ -143,7 +143,6 @@ class TestSlapOSCorePersonRequest(testSlapOSMixin):
"""
sla_xml = "test"
shared = True
state = "started"
# Only started, stopped, destroyed
self.assertRaises(ValueError, person.requestSoftwareInstance,
......
147
\ No newline at end of file
148
\ No newline at end of file
......@@ -1897,8 +1897,6 @@ class TestStatusGET(SlapOSRestAPIV1InstanceMixin):
def test_no_data_in_memcached(self):
self.computer = self.createComputer()
reference = self.computer.getReference()
value = json.dumps({'foo': reference})
self.connection.request(method='GET',
url='/'.join([self.api_path, 'status',
self.computer.getRelativeUrl()]),
......
10
\ No newline at end of file
11
\ No newline at end of file
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