Skip to content

Commit

Permalink
remove traces of PloneTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Dec 10, 2014
1 parent dc18140 commit 3419d3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
20 changes: 2 additions & 18 deletions plone/app/upgrade/tests/base.py
Expand Up @@ -9,19 +9,14 @@
import transaction
from zope.site.hooks import setSite

from Testing.ZopeTestCase.sandbox import Sandboxed
from Products.PloneTestCase.layer import PloneSiteLayer
from Products.PloneTestCase.ptc import PloneTestCase
from Products.PloneTestCase.ptc import setupPloneSite
from plone.app.testing.bbb import PloneTestCase

from Products.CMFCore.interfaces import IActionCategory
from Products.CMFCore.interfaces import IActionInfo
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.tests.base.testcase import WarningInterceptor
from Products.GenericSetup.context import TarballImportContext

setupPloneSite()


class MigrationTest(PloneTestCase):

Expand Down Expand Up @@ -111,21 +106,10 @@ def removeSkinLayer(self, layer, skin='Plone Default'):
skins.addSkinSelection(skin, ','.join(path))


class FunctionalUpgradeLayer(PloneSiteLayer):

@classmethod
def setUp(cls):
pass

@classmethod
def tearDown(cls):
pass


class FunctionalUpgradeTestCase(Sandboxed, PloneTestCase, WarningInterceptor):
class FunctionalUpgradeTestCase(PloneTestCase, WarningInterceptor):

_setup_fixture = 0
layer = FunctionalUpgradeLayer
site_id = 'test'

def afterSetUp(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -30,13 +30,13 @@
test=[
'Products.CMFPlacefulWorkflow',
'Products.CMFQuickInstallerTool',
'Products.PloneTestCase',
'plone.contentrules',
'plone.app.i18n',
'plone.app.iterate',
'plone.app.openid',
'plone.app.redirector',
'plone.app.viewletmanager',
'plone.app.testing',
'plone.app.theming',
]
),
Expand Down

0 comments on commit 3419d3f

Please sign in to comment.