[ZPT] CVS: Zope/lib/python/ZTUtils/tests - run.py:1.2
Shane Hathaway
shane@cvs.zope.org
Wed, 12 Jun 2002 15:35:25 -0400
Update of /cvs-repository/Zope/lib/python/ZTUtils/tests
In directory cvs.zope.org:/tmp/cvs-serv22383/tests
Modified Files:
run.py
Log Message:
Removed unused test framework module.
=== Zope/lib/python/ZTUtils/tests/run.py 1.1 => 1.2 ===
+#!/usr/bin/env python
"""Run all tests."""
-import os, sys, glob
-execfile(os.path.join(sys.path[0], 'framework.py'))
+import unittest
+import glob
+import os
+import sys
def test_suite():
suite = unittest.TestSuite()
@@ -13,4 +15,4 @@
return suite
if __name__ == "__main__":
- main()
+ unittest.main(defaultTest='test_suite')