Browse Source

trying with __test__ to remove tests detected by nose

main
Julien Iguchi-Cartigny 10 years ago
parent
commit
3c365071d6
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      tests/test_wsdl.py

+ 6
- 2
tests/test_wsdl.py View File

@@ -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)


Loading…
Cancel
Save