[commit] r1525 - in trunk/Tests/GPyUnit: . Regr/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Sep 12 10:49:09 CDT 2011


Author: ksmyth
Date: Mon Sep 12 10:49:09 2011
New Revision: 1525

Log:
TextTestRunner verbosity

Modified:
   trunk/Tests/GPyUnit/Regr/Mga/tc1.py
   trunk/Tests/GPyUnit/run_tests.py

Modified: trunk/Tests/GPyUnit/Regr/Mga/tc1.py
==============================================================================
--- trunk/Tests/GPyUnit/Regr/Mga/tc1.py	Mon Sep 12 10:25:12 2011	(r1524)
+++ trunk/Tests/GPyUnit/Regr/Mga/tc1.py	Mon Sep 12 10:49:09 2011	(r1525)
@@ -74,7 +74,6 @@
 
 		# open the created project
 		self.project = project
-		print project
 		try:
 			project.Open( "MGA=" + mganame )
 		except:

Modified: trunk/Tests/GPyUnit/run_tests.py
==============================================================================
--- trunk/Tests/GPyUnit/run_tests.py	Mon Sep 12 10:25:12 2011	(r1524)
+++ trunk/Tests/GPyUnit/run_tests.py	Mon Sep 12 10:49:09 2011	(r1525)
@@ -33,6 +33,6 @@
                 runner.run(test)
             output.write("</testsuites>")
     else:
-        runner = unittest.TextTestRunner()
+        runner = unittest.TextTestRunner(verbosity=2 if options.verbose else 1)
         runner.run(_tests)
 


More information about the gme-commit mailing list