From a58955f2429e83d1f290571ced555275993eecdb Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 22:09:37 -0500 Subject: [PATCH] test_helpers: fix test_main and mark so nosetests will ignore it --- pym/gentoolkit/test/test_helpers.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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__': -- 2.26.2