You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
491 B

  1. import sys
  2. import unittest
  3. def TestSuite():
  4. suite = unittest.TestSuite()
  5. loader = unittest.TestLoader()
  6. if sys.platform == "win32":
  7. from . import test_plat_win
  8. suite.addTests(loader.loadTestsFromModule(test_plat_win))
  9. else:
  10. from . import test_script_main
  11. from . import test_plat_other
  12. suite.addTests(loader.loadTestsFromModule(test_script_main))
  13. suite.addTests(loader.loadTestsFromModule(test_plat_other))
  14. return suite