Mercurial > p > roundup > code
comparison test/test_security.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 | 63c79c0992ae |
| children | 36630a062fb5 |
comparison
equal
deleted
inserted
replaced
| 5036:380d8d8b30a3 | 5037:364c54991861 |
|---|---|
| 234 | 234 |
| 235 # roundup.password has its own built-in test, call it. | 235 # roundup.password has its own built-in test, call it. |
| 236 def test_password(self): | 236 def test_password(self): |
| 237 roundup.password.test() | 237 roundup.password.test() |
| 238 | 238 |
| 239 def test_suite(): | |
| 240 suite = unittest.TestSuite() | |
| 241 suite.addTest(unittest.makeSuite(PermissionTest)) | |
| 242 return suite | |
| 243 | |
| 244 if __name__ == '__main__': | |
| 245 runner = unittest.TextTestRunner() | |
| 246 unittest.main(testRunner=runner) | |
| 247 | |
| 248 # vim: set filetype=python sts=4 sw=4 et si : | 239 # vim: set filetype=python sts=4 sw=4 et si : |
