Commit 7ab83f42 authored by Alain Takoudjou's avatar Alain Takoudjou

Drop support for Python < 2.7

parent 67b97578
......@@ -7,7 +7,7 @@
from erp5.component.test.testSlapOSCloudConstraint import TestSlapOSConstraintMixin
from Products.ERP5Type.Base import WorkflowMethod
from Products.SlapOS.tests.testSlapOSMixin import withAbort
from Products.ERP5Type.tests.backportUnittest import skip
from unittest import skip
import transaction
......
......@@ -3,7 +3,7 @@ import transaction
from Products.SlapOS.tests.testSlapOSMixin import \
testSlapOSMixin
from Products.ERP5Type.tests.utils import createZODBPythonScript
from Products.ERP5Type.tests.backportUnittest import skip
from unittest import skip
import json
from zExceptions import Unauthorized
from DateTime import DateTime
......
......@@ -2,7 +2,7 @@
from Products.SlapOS.tests.testSlapOSMixin import \
testSlapOSMixin
import transaction
from Products.ERP5Type.tests.backportUnittest import expectedFailure
from unittest import expectedFailure
from Products.ERP5Type.Errors import UnsupportedWorkflowMethod
from Products.DCWorkflow.DCWorkflow import ValidationFailed
from AccessControl.SecurityManagement import getSecurityManager, \
......
......@@ -3,7 +3,7 @@ import transaction
from Products.SlapOS.tests.testSlapOSMixin import \
testSlapOSMixin
from Products.ERP5Type.tests.utils import createZODBPythonScript
from Products.ERP5Type.tests.backportUnittest import skip
from unittest import skip
import json
from DateTime import DateTime
from zExceptions import Unauthorized
......
......@@ -5,7 +5,7 @@ from Products.SlapOS.tests.testSlapOSMixin import \
testSlapOSMixin
from zExceptions import Unauthorized
from Products.ERP5Type.tests.utils import createZODBPythonScript
from Products.ERP5Type.tests.backportUnittest import skip
from unittest import skip
from functools import wraps
from ZPublisher.HTTPRequest import HTTPRequest
......
......@@ -3,7 +3,7 @@ import transaction
from Products.SlapOS.tests.testSlapOSMixin import \
testSlapOSMixin
from Products.ERP5Type.tests.utils import createZODBPythonScript
from Products.ERP5Type.tests.backportUnittest import skip
from unittest import skip
import json
from DateTime import DateTime
......
......@@ -2,7 +2,7 @@
from Products.SlapOS.tests.testSlapOSMixin import \
testSlapOSMixin
import transaction
from Products.ERP5Type.tests.backportUnittest import expectedFailure
from unittest import expectedFailure
from Products.ERP5Type.Errors import UnsupportedWorkflowMethod
from AccessControl.SecurityManagement import getSecurityManager, \
setSecurityManager
......
......@@ -13,7 +13,7 @@ from App.Common import rfc1123_date
from DateTime import DateTime
import time
from Products.ERP5Type.tests.backportUnittest import skip
from unittest import skip
def _getMemcachedDict(self):
return self.getPortal().portal_memcached.getMemcachedDict(
......
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