SF.net SVN: fclient: [535] trunk/fcp2/src/fcp2/test/test_all.py
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-07-07 21:27:38
|
Revision: 535 http://fclient.svn.sourceforge.net/fclient/?rev=535&view=rev Author: jUrner Date: 2008-07-07 14:27:48 -0700 (Mon, 07 Jul 2008) Log Message: ----------- minor changes Modified Paths: -------------- trunk/fcp2/src/fcp2/test/test_all.py Modified: trunk/fcp2/src/fcp2/test/test_all.py =================================================================== --- trunk/fcp2/src/fcp2/test/test_all.py 2008-07-07 08:04:01 UTC (rev 534) +++ trunk/fcp2/src/fcp2/test/test_all.py 2008-07-07 21:27:48 UTC (rev 535) @@ -7,13 +7,12 @@ #************************************************************************************************* if __name__ == '__main__': Dir, SelfName= os.path.split(os.path.abspath(__file__)) - sys.path.insert(0, Dir) - + for file in os.walk(Dir).next()[2]: filename, ext = os.path.splitext(file) if ext.lower() == '.py': if filename.startswith('test_') and file != SelfName: mod = __import__(filename) suite = getattr(mod, 'suite') - unittest.TextTestRunner(verbosity=1).run(suite()) + unittest.TextTestRunner(verbosity=2).run(suite()) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |