diff 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
line wrap: on
line diff
--- a/test/test_security.py	Thu Aug 20 18:15:23 2015 +1000
+++ b/test/test_security.py	Fri Aug 21 13:08:02 2015 +1000
@@ -236,13 +236,4 @@
     def test_password(self):
         roundup.password.test()
 
-def test_suite():
-    suite = unittest.TestSuite()
-    suite.addTest(unittest.makeSuite(PermissionTest))
-    return suite
-
-if __name__ == '__main__':
-    runner = unittest.TextTestRunner()
-    unittest.main(testRunner=runner)
-
 # vim: set filetype=python sts=4 sw=4 et si :

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