Depend on 0compile using the feed
[0release.git] / tests / testdocs.py
blob01dc3cbfd1c9d18e6cc85081ba96424556d04bb5
1 #!/usr/bin/env python
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)