Remove test suite functions
These cause nosetest to run duplicate tests.
This commit is contained in:
parent
828c187dc3
commit
1e54cbbec3
@ -98,10 +98,5 @@ class RotateHandlerTest(unittest.TestCase):
|
||||
l.removeHandler(rh)
|
||||
|
||||
|
||||
def testSuite():
|
||||
suite = unittest.makeSuite(RotateHandlerTest,'test')
|
||||
return suite
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.TextTestRunner().run(testSuite())
|
||||
unittest.main()
|
||||
|
@ -223,10 +223,6 @@ class CursorTest(unittest.TestCase):
|
||||
pldata = set([d[1] for d in data])
|
||||
self.assertEqual(placenames, pldata)
|
||||
|
||||
def testSuite():
|
||||
suite = unittest.makeSuite(CursorTest, 'test')
|
||||
return suite
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.TextTestRunner().run(testSuite())
|
||||
unittest.main()
|
||||
|
@ -214,12 +214,6 @@ class ReferenceMapTest(GrampsDbBaseTest):
|
||||
self.assertLess(with_reference_map, without_reference_map / 10,
|
||||
"Reference_map should an order of magnitude faster.")
|
||||
|
||||
def testSuite():
|
||||
suite = unittest.makeSuite(ReferenceMapTest,'test')
|
||||
return suite
|
||||
|
||||
def perfSuite():
|
||||
return unittest.makeSuite(ReferenceMapTest,'perf')
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.TextTestRunner().run(testSuite())
|
||||
unittest.main()
|
||||
|
Loading…
Reference in New Issue
Block a user