source: products/qMemberdataExport/trunk/tests/testSkeleton.py @ 3222

Last change on this file since 3222 was 1, checked in by myroslav, 19 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 554 bytes
Line 
1#
2# Skeleton PloneTestCase
3#
4
5import os, sys
6if __name__ == '__main__':
7    execfile(os.path.join(sys.path[0], 'framework.py'))
8
9from Products.CMFPlone.tests import PloneTestCase
10
11
12class TestSomething(PloneTestCase.PloneTestCase):
13
14    def afterSetUp(self):
15        pass
16
17    def testSomething(self):
18        # Test something
19        self.assertEqual(1+1, 2)
20
21
22def test_suite():
23    from unittest import TestSuite, makeSuite
24    suite = TestSuite()
25    suite.addTest(makeSuite(TestSomething))
26    return suite
27
28if __name__ == '__main__':
29    framework()
Note: See TracBrowser for help on using the repository browser.