projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd37cf1
)
test_helpers: fix test_main and mark so nosetests will ignore it
author
W. Trevor King
<wking@tremily.us>
Mon, 12 Nov 2012 03:09:37 +0000
(22:09 -0500)
committer
W. Trevor King
<wking@tremily.us>
Mon, 12 Nov 2012 03:22:30 +0000
(22:22 -0500)
pym/gentoolkit/test/test_helpers.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/test/test_helpers.py
b/pym/gentoolkit/test/test_helpers.py
index 5bafaae981e4c6e588cb820a91a10ab455ca465b..24aeedf1efda6edcfdead842927a7d659c223c99 100644
(file)
--- 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__':