Commits

Kirill Simonov committed ed0ec1e

Added the script tests/test_all.py.

  • Participants
  • Parent commits 118c789

Comments (0)

Files changed (1)

File tests/test_all.py

+
+import unittest
+
+def main():
+    import yaml
+    names = ['test_yaml']
+    if yaml.__libyaml__:
+        names.append('test_yaml_ext')
+    suite = unittest.defaultTestLoader.loadTestsFromNames(names)
+    runner = unittest.TextTestRunner()
+    runner.run(suite)
+
+if __name__ == '__main__':
+    main()
+