Skip to content

Commit

Permalink
Added the script tests/test_all.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
xitology committed Oct 1, 2008
1 parent be82996 commit 4692b60
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/test_all.py
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit 4692b60

Please sign in to comment.