__main__.py 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. #
  2. # This file is part of pyasn1-modules software.
  3. #
  4. # Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
  5. # License: http://snmplabs.com/pyasn1/license.html
  6. #
  7. import unittest
  8. suite = unittest.TestLoader().loadTestsFromNames(
  9. ['tests.test_pem.suite',
  10. 'tests.test_rfc2314.suite',
  11. 'tests.test_rfc2315.suite',
  12. 'tests.test_rfc2437.suite',
  13. 'tests.test_rfc2459.suite',
  14. 'tests.test_rfc2511.suite',
  15. 'tests.test_rfc2560.suite',
  16. 'tests.test_rfc2631.suite',
  17. 'tests.test_rfc2634.suite',
  18. 'tests.test_rfc2876.suite',
  19. 'tests.test_rfc2985.suite',
  20. 'tests.test_rfc2986.suite',
  21. 'tests.test_rfc3058.suite',
  22. 'tests.test_rfc3114.suite',
  23. 'tests.test_rfc3125.suite',
  24. 'tests.test_rfc3161.suite',
  25. 'tests.test_rfc3274.suite',
  26. 'tests.test_rfc3279.suite',
  27. 'tests.test_rfc3280.suite',
  28. 'tests.test_rfc3281.suite',
  29. 'tests.test_rfc3370.suite',
  30. 'tests.test_rfc3447.suite',
  31. 'tests.test_rfc3537.suite',
  32. 'tests.test_rfc3560.suite',
  33. 'tests.test_rfc3565.suite',
  34. 'tests.test_rfc3657.suite',
  35. 'tests.test_rfc3709.suite',
  36. 'tests.test_rfc3739.suite',
  37. 'tests.test_rfc3770.suite',
  38. 'tests.test_rfc3779.suite',
  39. 'tests.test_rfc3820.suite',
  40. 'tests.test_rfc3852.suite',
  41. 'tests.test_rfc4010.suite',
  42. 'tests.test_rfc4043.suite',
  43. 'tests.test_rfc4055.suite',
  44. 'tests.test_rfc4073.suite',
  45. 'tests.test_rfc4108.suite',
  46. 'tests.test_rfc4210.suite',
  47. 'tests.test_rfc4211.suite',
  48. 'tests.test_rfc4334.suite',
  49. 'tests.test_rfc4357.suite',
  50. 'tests.test_rfc4387.suite',
  51. 'tests.test_rfc4476.suite',
  52. 'tests.test_rfc4490.suite',
  53. 'tests.test_rfc4491.suite',
  54. 'tests.test_rfc4683.suite',
  55. 'tests.test_rfc4985.suite',
  56. 'tests.test_rfc5035.suite',
  57. 'tests.test_rfc5083.suite',
  58. 'tests.test_rfc5084.suite',
  59. 'tests.test_rfc5126.suite',
  60. 'tests.test_rfc5208.suite',
  61. 'tests.test_rfc5275.suite',
  62. 'tests.test_rfc5280.suite',
  63. 'tests.test_rfc5480.suite',
  64. 'tests.test_rfc5636.suite',
  65. 'tests.test_rfc5639.suite',
  66. 'tests.test_rfc5649.suite',
  67. 'tests.test_rfc5652.suite',
  68. 'tests.test_rfc5697.suite',
  69. 'tests.test_rfc5751.suite',
  70. 'tests.test_rfc5752.suite',
  71. 'tests.test_rfc5753.suite',
  72. 'tests.test_rfc5755.suite',
  73. 'tests.test_rfc5913.suite',
  74. 'tests.test_rfc5914.suite',
  75. 'tests.test_rfc5915.suite',
  76. 'tests.test_rfc5916.suite',
  77. 'tests.test_rfc5917.suite',
  78. 'tests.test_rfc5924.suite',
  79. 'tests.test_rfc5934.suite',
  80. 'tests.test_rfc5940.suite',
  81. 'tests.test_rfc5958.suite',
  82. 'tests.test_rfc5990.suite',
  83. 'tests.test_rfc6010.suite',
  84. 'tests.test_rfc6019.suite',
  85. 'tests.test_rfc6031.suite',
  86. 'tests.test_rfc6032.suite',
  87. 'tests.test_rfc6120.suite',
  88. 'tests.test_rfc6187.suite',
  89. 'tests.test_rfc6210.suite',
  90. 'tests.test_rfc6211.suite',
  91. 'tests.test_rfc6482.suite',
  92. 'tests.test_rfc6486.suite',
  93. 'tests.test_rfc6487.suite',
  94. 'tests.test_rfc6664.suite',
  95. 'tests.test_rfc6955.suite',
  96. 'tests.test_rfc6960.suite',
  97. 'tests.test_rfc7030.suite',
  98. 'tests.test_rfc7191.suite',
  99. 'tests.test_rfc7229.suite',
  100. 'tests.test_rfc7292.suite',
  101. 'tests.test_rfc7296.suite',
  102. 'tests.test_rfc7508.suite',
  103. 'tests.test_rfc7585.suite',
  104. 'tests.test_rfc7633.suite',
  105. 'tests.test_rfc7773.suite',
  106. 'tests.test_rfc7894.suite',
  107. 'tests.test_rfc7906.suite',
  108. 'tests.test_rfc7914.suite',
  109. 'tests.test_rfc8017.suite',
  110. 'tests.test_rfc8018.suite',
  111. 'tests.test_rfc8103.suite',
  112. 'tests.test_rfc8209.suite',
  113. 'tests.test_rfc8226.suite',
  114. 'tests.test_rfc8358.suite',
  115. 'tests.test_rfc8360.suite',
  116. 'tests.test_rfc8398.suite',
  117. 'tests.test_rfc8410.suite',
  118. 'tests.test_rfc8418.suite',
  119. 'tests.test_rfc8419.suite',
  120. 'tests.test_rfc8479.suite',
  121. 'tests.test_rfc8494.suite',
  122. 'tests.test_rfc8520.suite',
  123. 'tests.test_rfc8619.suite',
  124. 'tests.test_rfc8649.suite',
  125. 'tests.test_rfc8692.suite',
  126. 'tests.test_rfc8696.suite',
  127. 'tests.test_rfc8702.suite',
  128. 'tests.test_rfc8708.suite',
  129. 'tests.test_rfc8769.suite']
  130. )
  131. if __name__ == '__main__':
  132. import sys
  133. result = unittest.TextTestRunner(verbosity=2).run(suite)
  134. sys.exit(not result.wasSuccessful())