When publishing, check that no more commits have been made.
[0release.git] / tests / testdocs.py
blob5bc69f1e9da61e7c616365b707e79aab6eabf28c
1 #!/usr/bin/env python2.5
2 # Copyright (C) 2007, Thomas Leonard
3 # See the README file for details, or visit http://0install.net.
5 import unittest, os, sys
6 import doctest
8 sys.path.insert(0, '..')
10 import support
12 main_dir = os.path.join(os.path.dirname(__file__), '..')
14 suite = unittest.TestSuite()
15 for x in [support]:
16 suite.addTest(doctest.DocTestSuite(x))
18 if __name__ == '__main__':
19 runner = unittest.TextTestRunner(verbosity = 2)
20 runner.run(suite)