mailr12094 - /1.3/test_suite/unit_tests/unit_test_runner.py


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

Header


Content

Posted by edward on January 03, 2011 - 19:48:
Author: bugman
Date: Mon Jan  3 19:48:40 2011
New Revision: 12094

URL: http://svn.gna.org/viewcvs/relax?rev=12094&view=rev
Log:
Removed the PY_UNIT_TEST_PATTERN constant as it is in the 
Unit_test_runner.test_case_patterns list.


Modified:
    1.3/test_suite/unit_tests/unit_test_runner.py

Modified: 1.3/test_suite/unit_tests/unit_test_runner.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/unit_test_runner.py?rev=12094&r1=12093&r2=12094&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/unit_test_runner.py (original)
+++ 1.3/test_suite/unit_tests/unit_test_runner.py Mon Jan  3 19:48:40 2011
@@ -62,8 +62,9 @@
 
 # constants
 ###########
+
 PY_FILE_EXTENSION='.py'
-PY_UNIT_TEST_PATTERN='test_.*\.py$'
+
 
 # utility functions
 ###################
@@ -327,7 +328,7 @@
     suite = unittest.TestSuite()
     '''The root test suite to which testSuites and cases are added.'''
 
-    def __init__(self, root_path=None, pattern_list=[PY_UNIT_TEST_PATTERN]):
+    def __init__(self, root_path=None, pattern_list=[]):
         '''Initialise the unit test finder.
 
         @keyword root_path:     The path to starts searching for unit tests 
from, all sub




Related Messages


Powered by MHonArc, Updated Mon Jan 03 20:20:04 2011