From: W. Trevor King Date: Mon, 12 Nov 2012 03:09:37 +0000 (-0500) Subject: test_helpers: fix test_main and mark so nosetests will ignore it X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a58955f2429e83d1f290571ced555275993eecdb;p=gentoolkit.git test_helpers: fix test_main and mark so nosetests will ignore it --- diff --git a/pym/gentoolkit/test/test_helpers.py b/pym/gentoolkit/test/test_helpers.py index 5bafaae..24aeedf 100644 --- a/pym/gentoolkit/test/test_helpers.py +++ b/pym/gentoolkit/test/test_helpers.py @@ -115,7 +115,11 @@ class TestFileOwner(unittest.TestCase): def test_main(): - test_support.run_unittest(TestGentoolkitHelpers2) + suite = unittest.TestLoader() + suite.loadTestsFromTestCase(TestChangeLog) + suite.loadTestsFromTestCase(TestFileOwner) + unittest.TextTestRunner(verbosity=2).run(suite) +test_main.__test__ = False if __name__ == '__main__':