kakshay unittest (#121)

remove unittest2 dependency
This commit is contained in:
KUMAR AKSHAY 2017-05-08 12:54:38 +05:30 committed by Jens W. Klein
parent 6f79699b7f
commit 964dcea523
12 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,7 @@ New features:
Bug fixes:
- removed "change portal event" permission
- Remove unittest2 dependency
[kakshay21]

View File

@ -13,7 +13,7 @@ from zope.event import notify
from zope.lifecycleevent import ObjectModifiedEvent
import transaction
import unittest2 as unittest
import unittest
class CatalogSetupTest(unittest.TestCase):

View File

@ -12,7 +12,7 @@ from zope.component import getMultiAdapter
import datetime
import logging
import unittest2 as unittest
import unittest
logger = logging.getLogger('plone.app.discussion.tests')

View File

@ -30,7 +30,7 @@ from zope.publisher.browser import TestRequest
from zope.publisher.interfaces.browser import IBrowserRequest
import time
import unittest2 as unittest
import unittest
class TestCommentForm(unittest.TestCase):

View File

@ -13,7 +13,7 @@ from plone.stringinterp.interfaces import IStringSubstitution
from zope.component import createObject
from zope.component import getAdapter
import unittest2 as unittest
import unittest
class CommentContentRulesTest(unittest.TestCase):

View File

@ -9,7 +9,7 @@ from Products.CMFCore.utils import getToolByName
from zope.component import getMultiAdapter
from zope.component import queryUtility
import unittest2 as unittest
import unittest
class RegistryTest(unittest.TestCase):

View File

@ -19,7 +19,7 @@ from zope.annotation.interfaces import IAnnotations
from zope.component import createObject
from zope.component import queryUtility
import unittest2 as unittest
import unittest
try:

View File

@ -8,7 +8,7 @@ from zope.component import createObject
from Zope2.App import zcml
import Products.Five
import unittest2 as unittest
import unittest
#

View File

@ -8,7 +8,7 @@ from plone.testing import layered
import doctest
import pprint
import unittest2 as unittest
import unittest
optionflags = (

View File

@ -11,7 +11,7 @@ from plone.app.testing import TEST_USER_ID
from plone.indexer.delegate import DelegatingIndexerFactory
from zope.component import createObject
import unittest2 as unittest
import unittest
LONG_TEXT = """Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed

View File

@ -13,7 +13,7 @@ from zope.component import getSiteManager
from zope.component import getUtility
from zope.component import queryUtility
import unittest2 as unittest
import unittest
class TestUserNotificationUnit(unittest.TestCase):

View File

@ -15,7 +15,7 @@ from Products.CMFCore.utils import _checkPermission as checkPerm
from zope.component import createObject
from zope.interface import alsoProvides
import unittest2 as unittest
import unittest
class WorkflowSetupTest(unittest.TestCase):