Browse Source

Revert "trying with __test__ to remove tests detected by nose"

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

+ 2
- 6
tests/test_wsdl.py View File

@@ -26,15 +26,11 @@ def makeTestSuite(section='services_by_file'):
nameGenerator = getOption(cp, section) nameGenerator = getOption(cp, section)
suite = unittest.TestSuite() suite = unittest.TestSuite()
for i in range(0, numTests): for i in range(0, numTests):
case = WSDLToolsAbstractCase()
case.__test__ = true
suite.addTest(unittest.makeSuite(case, 'test_'))
suite.addTest(unittest.makeSuite(WSDLToolsAbstractCase, 'test_'))
return suite return suite




class WSDLToolsAbstractCase(unittest.TestCase):

__test__ = false
class WSDLToolsAbstractCase():


def __init__(self, methodName='runTest'): def __init__(self, methodName='runTest'):
unittest.TestCase.__init__(self, methodName) unittest.TestCase.__init__(self, methodName)


Loading…
Cancel
Save