comparison test/test_locking.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 35ea9b1efc14
comparison
equal deleted inserted replaced
5036:380d8d8b30a3 5037:364c54991861
42 release_lock(f) 42 release_lock(f)
43 43
44 def tearDown(self): 44 def tearDown(self):
45 os.remove(self.path) 45 os.remove(self.path)
46 46
47 def test_suite():
48 suite = unittest.TestSuite()
49 suite.addTest(unittest.makeSuite(LockingTest))
50 return suite
51
52 if __name__ == '__main__':
53 runner = unittest.TextTestRunner()
54 unittest.main(testRunner=runner)
55
56 # vim: set filetype=python ts=4 sw=4 et si 47 # vim: set filetype=python ts=4 sw=4 et si

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