From 087a31a6f1126f6588e06f9c7a0bc574373e6cf1 Mon Sep 17 00:00:00 2001 From: astokes Date: Fri, 22 Jan 2010 20:04:46 +0000 Subject: - test case cleanup git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@700 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/tests/test_plugin_syntax.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tests/test_plugin_syntax.py b/src/tests/test_plugin_syntax.py index b3a8ca9a..1b0ae31d 100644 --- a/src/tests/test_plugin_syntax.py +++ b/src/tests/test_plugin_syntax.py @@ -5,9 +5,6 @@ import sos.policyredhat from sos.helpers import * class testPluginSanity(unittest.TestCase): - """ tests plugins don't fail due to indentation errors - etc. - """ def setUp(self): self.policy = sos.policyredhat.SosPolicy() # build plugins list @@ -30,5 +27,6 @@ class testPluginSanity(unittest.TestCase): self.fail("Plugin exception on %s" % (plugbase,)) if __name__=="__main__": - unittest.main() + suite = unittest.TestLoader().loadTestsFromTestCase(testPluginSanity) + unittest.TextTestRunner(verbosity=2).run(suite) -- cgit