comparison martini/tests/test.py @ 0:3c3522ce6e3a

initial import of martINI from https://svn.openplans.org/svn/standalone/martINI/
author k0s <k0scist@gmail.com>
date Tue, 08 Dec 2009 15:13:28 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3c3522ce6e3a
1 #!/usr/bin/env python
2
3 import doctest
4 import os
5
6 def run_tests():
7 directory = os.path.dirname(os.path.abspath(__file__))
8 tests = [ test for test in os.listdir(directory) if test.endswith('.txt') ]
9
10 for test in tests:
11 doctest.testfile(test)
12
13 if __name__ == '__main__':
14 run_tests()