__main__.py 456 B

123456789101112131415161718
  1. #
  2. # This file is part of pyasn1 software.
  3. #
  4. # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
  5. # License: https://pyasn1.readthedocs.io/en/latest/license.html
  6. #
  7. import unittest
  8. suite = unittest.TestLoader().loadTestsFromNames(
  9. ['tests.test_debug.suite',
  10. 'tests.type.__main__.suite',
  11. 'tests.codec.__main__.suite',
  12. 'tests.compat.__main__.suite']
  13. )
  14. if __name__ == '__main__':
  15. unittest.TextTestRunner(verbosity=2).run(suite)