Move all tests from testing layer to plone.app.testing.

svn path=/plone.app.discussion/trunk/; revision=48916
This commit is contained in:
Timo Stollenwerk 2011-04-17 08:51:58 +00:00
parent f3d97b2f20
commit 80a7b90a30
2 changed files with 6 additions and 25 deletions

View File

@ -4,6 +4,9 @@ Changelog
2.0b2 (Unreleased)
------------------
- Move all tests from testing layer to plone.app.testing.
[timo]
- Move some policy out of the conversation storage adapter into a
view, specifically "enabled()". Prevents having to replace/migrate
persistent objects to change policy which really only concerns the
@ -29,6 +32,7 @@ Changelog
sent.
[davisagli]
2.0b1 (2011-04-06)
------------------
@ -76,6 +80,7 @@ Changelog
- Added Afrikaans translations
[jcbrand]
2.0a3 (2011-03-02)
------------------
@ -83,6 +88,7 @@ Changelog
defaultUser.gif to defaultUser.png in Products.PlonePAS 4.0.5
[maurits]
2.0a2 (2011-02-08)
------------------

View File

@ -1,25 +0,0 @@
from Testing import ZopeTestCase as ztc
from Products.PloneTestCase import ptc
from Products.PloneTestCase import layer
from Products.Five import zcml
from Products.Five import fiveconfigure
ptc.setupPloneSite(
extension_profiles=('plone.app.discussion:default', )
)
class DiscussionLayer(layer.PloneSite):
"""Configure plone.app.discussion"""
@classmethod
def setUp(cls):
fiveconfigure.debug_mode = True
import plone.app.discussion
zcml.load_config("configure.zcml", plone.app.discussion)
fiveconfigure.debug_mode = False
ztc.installPackage("plone.app.discussion", quiet=1)
@classmethod
def tearDown(cls):
pass