[geneagrapher] 176/226: Removed unnecessary code from tests.py.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Jul 11 17:11:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository geneagrapher.

commit e289dd3db89060bd84b5a7bc8758c11e11fef98c
Author: David Alber <alber.david at gmail.com>
Date:   Sat Nov 26 11:42:23 2011 -0800

    Removed unnecessary code from tests.py.
---
 tests/tests.py | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/tests/tests.py b/tests/tests.py
index 1cdc5a5..4a70ffa 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -1,19 +1,5 @@
-import unittest
 from test_record_methods import TestRecordMethods
 from test_node_methods import TestNodeMethods
 from test_graph_methods import TestGraphMethods
 from test_grabber_methods import TestGrabberMethods
 from test_geneagrapher_methods import TestGeneagrapherMethods
-
-
-def runTests():
-    suite = unittest.TestSuite()
-    suite.addTest(unittest.makeSuite(TestRecordMethods))
-    suite.addTest(unittest.makeSuite(TestNodeMethods))
-    suite.addTest(unittest.makeSuite(TestGraphMethods))
-    suite.addTest(unittest.makeSuite(TestGrabberMethods))
-    suite.addTest(unittest.makeSuite(TestGeneagrapherMethods))
-    unittest.TextTestRunner(verbosity=1).run(suite)
-
-if __name__ == '__main__':
-    runTests()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/geneagrapher.git



More information about the debian-science-commits mailing list