[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
The setUp and tearDown methods are owned by ZopeTestCase.
Stefan H. Holek
stefan at epy.co.at
Wed Jan 10 07:24:09 EST 2007
Log message for revision 71859:
The setUp and tearDown methods are owned by ZopeTestCase.
Changed:
U Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
-=-
Modified: Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py 2007-01-10 12:24:01 UTC (rev 71858)
+++ Zope/trunk/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py 2007-01-10 12:24:08 UTC (rev 71859)
@@ -86,17 +86,11 @@
class ZPTUnicodeEncodingConflictResolution(ZopeTestCase):
- def setUp(self):
- super(ZPTUnicodeEncodingConflictResolution, self).setUp()
+ def afterSetUp(self):
zope.component.provideAdapter(DefaultTraversable, (None,))
zope.component.provideAdapter(HTTPCharsets, (None,))
provideUtility(PreferredCharsetResolver, IUnicodeEncodingConflictResolver)
- transaction.begin()
- def tearDown(self):
- transaction.abort()
- self.app._p_jar.close()
-
def testISO_8859_15(self):
manage_addPageTemplate(self.app, 'test',
text='<div tal:content="python: request.get(\'data\')" />',
More information about the Zope-Checkins
mailing list