parent
6f79699b7f
commit
964dcea523
@ -14,7 +14,7 @@ New features:
|
|||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
- removed "change portal event" permission
|
- Remove unittest2 dependency
|
||||||
[kakshay21]
|
[kakshay21]
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ from zope.event import notify
|
|||||||
from zope.lifecycleevent import ObjectModifiedEvent
|
from zope.lifecycleevent import ObjectModifiedEvent
|
||||||
|
|
||||||
import transaction
|
import transaction
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
class CatalogSetupTest(unittest.TestCase):
|
class CatalogSetupTest(unittest.TestCase):
|
||||||
|
@ -12,7 +12,7 @@ from zope.component import getMultiAdapter
|
|||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
import logging
|
import logging
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
logger = logging.getLogger('plone.app.discussion.tests')
|
logger = logging.getLogger('plone.app.discussion.tests')
|
||||||
|
@ -30,7 +30,7 @@ from zope.publisher.browser import TestRequest
|
|||||||
from zope.publisher.interfaces.browser import IBrowserRequest
|
from zope.publisher.interfaces.browser import IBrowserRequest
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
class TestCommentForm(unittest.TestCase):
|
class TestCommentForm(unittest.TestCase):
|
||||||
|
@ -13,7 +13,7 @@ from plone.stringinterp.interfaces import IStringSubstitution
|
|||||||
from zope.component import createObject
|
from zope.component import createObject
|
||||||
from zope.component import getAdapter
|
from zope.component import getAdapter
|
||||||
|
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
class CommentContentRulesTest(unittest.TestCase):
|
class CommentContentRulesTest(unittest.TestCase):
|
||||||
|
@ -9,7 +9,7 @@ from Products.CMFCore.utils import getToolByName
|
|||||||
from zope.component import getMultiAdapter
|
from zope.component import getMultiAdapter
|
||||||
from zope.component import queryUtility
|
from zope.component import queryUtility
|
||||||
|
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
class RegistryTest(unittest.TestCase):
|
class RegistryTest(unittest.TestCase):
|
||||||
|
@ -19,7 +19,7 @@ from zope.annotation.interfaces import IAnnotations
|
|||||||
from zope.component import createObject
|
from zope.component import createObject
|
||||||
from zope.component import queryUtility
|
from zope.component import queryUtility
|
||||||
|
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -8,7 +8,7 @@ from zope.component import createObject
|
|||||||
from Zope2.App import zcml
|
from Zope2.App import zcml
|
||||||
|
|
||||||
import Products.Five
|
import Products.Five
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,7 @@ from plone.testing import layered
|
|||||||
|
|
||||||
import doctest
|
import doctest
|
||||||
import pprint
|
import pprint
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
optionflags = (
|
optionflags = (
|
||||||
|
@ -11,7 +11,7 @@ from plone.app.testing import TEST_USER_ID
|
|||||||
from plone.indexer.delegate import DelegatingIndexerFactory
|
from plone.indexer.delegate import DelegatingIndexerFactory
|
||||||
from zope.component import createObject
|
from zope.component import createObject
|
||||||
|
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
LONG_TEXT = """Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
|
LONG_TEXT = """Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
|
||||||
|
@ -13,7 +13,7 @@ from zope.component import getSiteManager
|
|||||||
from zope.component import getUtility
|
from zope.component import getUtility
|
||||||
from zope.component import queryUtility
|
from zope.component import queryUtility
|
||||||
|
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
class TestUserNotificationUnit(unittest.TestCase):
|
class TestUserNotificationUnit(unittest.TestCase):
|
||||||
|
@ -15,7 +15,7 @@ from Products.CMFCore.utils import _checkPermission as checkPerm
|
|||||||
from zope.component import createObject
|
from zope.component import createObject
|
||||||
from zope.interface import alsoProvides
|
from zope.interface import alsoProvides
|
||||||
|
|
||||||
import unittest2 as unittest
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
class WorkflowSetupTest(unittest.TestCase):
|
class WorkflowSetupTest(unittest.TestCase):
|
||||||
|
Loading…
Reference in New Issue
Block a user