diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-01-22 20:04:46 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-01-22 20:04:46 +0000 |
commit | 087a31a6f1126f6588e06f9c7a0bc574373e6cf1 (patch) | |
tree | ca3914173b86da5f9bddff76e49ecf30b905e21c /src/tests | |
parent | 01bde743413cd364c3c4432fefaddc58fbf830eb (diff) | |
download | sos-087a31a6f1126f6588e06f9c7a0bc574373e6cf1.tar.gz |
- test case cleanup
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@700 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_plugin_syntax.py | 6 |
1 files 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) |