#
# This file is part of pyasn1-modules software.
#
# Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pyasn1/license.html
#
try:
    import unittest2 as unittest

except ImportError:
    import unittest

suite = unittest.TestLoader().loadTestsFromNames(
    ['tests.test_rfc2314.suite',
     'tests.test_rfc2315.suite',
     'tests.test_rfc2437.suite',
     'tests.test_rfc2459.suite',
     'tests.test_rfc2511.suite',
     'tests.test_rfc2560.suite',
     'tests.test_rfc2986.suite',
     'tests.test_rfc3565.suite',
     'tests.test_rfc3779.suite',
     'tests.test_rfc4055.suite'
     'tests.test_rfc4108.suite'
     'tests.test_rfc4210.suite',
     'tests.test_rfc5083.suite'
     'tests.test_rfc5084.suite'
     'tests.test_rfc5208.suite',
     'tests.test_rfc5280.suite',
     'tests.test_rfc5652.suite',
     'tests.test_rfc5958.suite'
     'tests.test_rfc8103.suite'
     'tests.test_rfc8226.suite',
     'tests.test_rfc8410.suite'
     'tests.test_rfc8418.suite']
)


if __name__ == '__main__':
    unittest.TextTestRunner(verbosity=2).run(suite)

#
# This file is part of pyasn1-modules software.
#
# Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pyasn1/license.html
#
try:
    import unittest2 as unittest

except ImportError:
    import unittest

suite = unittest.TestLoader().loadTestsFromNames(
    ['tests.test_rfc2314.suite',
     'tests.test_rfc2315.suite',
     'tests.test_rfc2437.suite',
     'tests.test_rfc2459.suite',
     'tests.test_rfc2511.suite',
     'tests.test_rfc2560.suite',
     'tests.test_rfc2986.suite',
     'tests.test_rfc3565.suite',
     'tests.test_rfc3779.suite',
     'tests.test_rfc4055.suite',
     'tests.test_rfc4108.suite',
     'tests.test_rfc4210.suite',
     'tests.test_rfc5083.suite',
     'tests.test_rfc5084.suite',
     'tests.test_rfc5208.suite',
     'tests.test_rfc5280.suite',
     'tests.test_rfc5652.suite',
     'tests.test_rfc5958.suite',
     'tests.test_rfc8103.suite',
     'tests.test_rfc8226.suite',
     'tests.test_rfc8410.suite',
     'tests.test_rfc8418.suite']
)


if __name__ == '__main__':
    unittest.TextTestRunner(verbosity=2).run(suite)

Fix unit test modules registration