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

Drop support for Python < 2.7

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