Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 5036:380d8d8b30a3 | 5037:364c54991861 |
|---|---|
| 223 ---- | 223 ---- |
| 224 Testing, testing.''' | 224 Testing, testing.''' |
| 225 summary, content = parseContent(body, 1, 0) | 225 summary, content = parseContent(body, 1, 0) |
| 226 self.assertEqual(body, content) | 226 self.assertEqual(body, content) |
| 227 | 227 |
| 228 def test_suite(): | |
| 229 suite = unittest.TestSuite() | |
| 230 suite.addTest(unittest.makeSuite(MailsplitTestCase)) | |
| 231 return suite | |
| 232 | |
| 233 if __name__ == '__main__': | |
| 234 runner = unittest.TextTestRunner() | |
| 235 unittest.main(testRunner=runner) | |
| 236 | |
| 237 # vim: set filetype=python ts=4 sw=4 et si | 228 # vim: set filetype=python ts=4 sw=4 et si |
