mailr14778 - /1.3/test_suite/test_suite_runner.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 04, 2011 - 19:24:
Author: bugman
Date: Tue Oct  4 19:24:30 2011
New Revision: 14778

URL: http://svn.gna.org/viewcvs/relax?rev=14778&view=rev
Log:
The test suite runner 'tests' arg now defaults to [], which is the proper 
null value.


Modified:
    1.3/test_suite/test_suite_runner.py

Modified: 1.3/test_suite/test_suite_runner.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/test_suite_runner.py?rev=14778&r1=14777&r2=14778&view=diff
==============================================================================
--- 1.3/test_suite/test_suite_runner.py (original)
+++ 1.3/test_suite/test_suite_runner.py Tue Oct  4 19:24:30 2011
@@ -50,13 +50,13 @@
         - GUI tests.
     """
 
-    def __init__(self, tests=None):
+    def __init__(self, tests=[]):
         """Store the list of tests to preform.
 
         The test list should be something like 
['N_state_model.test_stereochem_analysis'].  The first part is the imported 
test case class, the second is the specific test.
 
 
-        @keyword tests: The list of tests to preform.
+        @keyword tests: The list of tests to preform.  If left at [], then 
all tests will be run.
         @type tests:    list of str
         """
 




Related Messages


Powered by MHonArc, Updated Wed Oct 05 11:00:02 2011