diff test/test_mailsplit.py @ 5037:364c54991861

Remove unneeded TestSuite code from tests The TestSuite code is no longer needed now that we are using py.test which can automatically discover tests
author John Kristensen <john@jerrykan.com>
date Fri, 21 Aug 2015 13:08:02 +1000
parents 6e3e4f24c753
children 55f09ca366c4
line wrap: on
line diff
--- a/test/test_mailsplit.py	Thu Aug 20 18:15:23 2015 +1000
+++ b/test/test_mailsplit.py	Fri Aug 21 13:08:02 2015 +1000
@@ -225,13 +225,4 @@
         summary, content = parseContent(body, 1, 0)
         self.assertEqual(body, content)
 
-def test_suite():
-    suite = unittest.TestSuite()
-    suite.addTest(unittest.makeSuite(MailsplitTestCase))
-    return suite
-
-if __name__ == '__main__':
-    runner = unittest.TextTestRunner()
-    unittest.main(testRunner=runner)
-
 # vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/