From 3c365071d6598e9cc4d5858514f34b68815ed4e7 Mon Sep 17 00:00:00 2001 From: Julien Iguchi-Cartigny Date: Sun, 6 Jul 2014 21:18:10 +0200 Subject: [PATCH] trying with __test__ to remove tests detected by nose --- tests/test_wsdl.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_wsdl.py b/tests/test_wsdl.py index 2dc409b..a8adbe9 100644 --- a/tests/test_wsdl.py +++ b/tests/test_wsdl.py @@ -26,11 +26,15 @@ def makeTestSuite(section='services_by_file'): nameGenerator = getOption(cp, section) suite = unittest.TestSuite() for i in range(0, numTests): - suite.addTest(unittest.makeSuite(WSDLToolsAbstractCase, 'test_')) + case = WSDLToolsAbstractCase() + case.__test__ = true + suite.addTest(unittest.makeSuite(case, 'test_')) return suite -class WSDLToolsAbstractCase(): +class WSDLToolsAbstractCase(unittest.TestCase): + + __test__ = false def __init__(self, methodName='runTest'): unittest.TestCase.__init__(self, methodName)