Browse Source

make test_wstools detected by nose

main
Julien Iguchi-Cartigny 10 years ago
parent
commit
cf048dd8e9
1 changed files with 2 additions and 10 deletions
  1. +2
    -10
      tests/test_wstools.py

+ 2
- 10
tests/test_wstools.py View File

@@ -8,19 +8,11 @@
import unittest import unittest
import test_wsdl import test_wsdl



SECTION = 'files'
CONFIG_FILE = 'config.txt'


def makeTestSuite(): def makeTestSuite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(test_wsdl.makeTestSuite("services_by_file")) suite.addTest(test_wsdl.makeTestSuite("services_by_file"))
return suite return suite



def main():
unittest.main(defaultTest="makeTestSuite")

if __name__ == "__main__": if __name__ == "__main__":
main()
runner = unittest.TextTestRunner()
runner.run(makeTestSuite())

Loading…
Cancel
Save