Back to index

plone3  3.1.7
testSkeleton.py
Go to the documentation of this file.
00001 #
00002 # Skeleton PloneTestCase
00003 #
00004 
00005 from Products.CMFPlone.tests import PloneTestCase
00006 
00007 
00008 class TestSomething(PloneTestCase.PloneTestCase):
00009 
00010     def afterSetUp(self):
00011         pass
00012 
00013     def testSomething(self):
00014         # Test something
00015         self.assertEqual(1+1, 2)
00016 
00017 
00018 def test_suite():
00019     from unittest import TestSuite, makeSuite
00020     suite = TestSuite()
00021     suite.addTest(makeSuite(TestSomething))
00022     return suite