Back to index

plone3  3.1.7
test_siteview.py
Go to the documentation of this file.
00001 import unittest
00002 import zope.component.event # import does the trick
00003 from zope.testing import doctest
00004 from zope.testing.cleanup import cleanUp
00005 from zope.app.component.hooks import setHooks
00006 
00007 def setUp(test=None):
00008     setHooks()
00009 
00010 def tearDown(test=None):
00011     cleanUp()
00012 
00013 def test_suite():
00014     return unittest.TestSuite([
00015         doctest.DocFileSuite('siteview.txt',
00016                              package='kss.core',
00017                              setUp=setUp,
00018                              tearDown=tearDown)
00019         ])