Mercurial > p > roundup > code
comparison test/test_init.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 | edb171528a7d |
| children | 198b6e810c67 |
comparison
equal
deleted
inserted
replaced
| 5036:380d8d8b30a3 | 5037:364c54991861 |
|---|---|
| 22 'name': 'classic', | 22 'name': 'classic', |
| 23 'path': path | 23 'path': path |
| 24 } | 24 } |
| 25 ) | 25 ) |
| 26 | 26 |
| 27 def test_suite(): | |
| 28 suite = unittest.TestSuite() | |
| 29 suite.addTest(unittest.makeSuite(TemplateInfoTestCase)) | |
| 30 return suite | |
| 31 | |
| 32 if __name__ == '__main__': | |
| 33 runner = unittest.TextTestRunner() | |
| 34 unittest.main(testRunner=runner) | |
| 35 | |
| 36 # vim: set et sts=4 sw=4 : | 27 # vim: set et sts=4 sw=4 : |
