__main__.py 520 B

12345678910111213141516171819
  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.codec.test_streaming.suite',
  10. 'tests.codec.ber.__main__.suite',
  11. 'tests.codec.cer.__main__.suite',
  12. 'tests.codec.der.__main__.suite',
  13. 'tests.codec.native.__main__.suite']
  14. )
  15. if __name__ == '__main__':
  16. unittest.TextTestRunner(verbosity=2).run(suite)