diff options
author | xi <xi@18f92427-320e-0410-9341-c67f048884a3> | 2008-10-01 23:16:55 +0000 |
---|---|---|
committer | xi <xi@18f92427-320e-0410-9341-c67f048884a3> | 2008-10-01 23:16:55 +0000 |
commit | 61a102786b49d78afaa367fa37f3251c17bf461d (patch) | |
tree | c1a1d96a6806b7c962a080dfd444562489088bef /tests | |
parent | 6c89cc151ad7b90db8efca919530f03fd68d6b53 (diff) | |
download | pyyaml-61a102786b49d78afaa367fa37f3251c17bf461d.tar.gz |
Added the script tests/test_all.py.
git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@291 18f92427-320e-0410-9341-c67f048884a3
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_all.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_all.py b/tests/test_all.py new file mode 100644 index 0000000..8ae1c76 --- /dev/null +++ b/tests/test_all.py @@ -0,0 +1,15 @@ + +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() + |