[Erp5-report] r42530 seb - /erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 20 19:13:54 CET 2011


Author: seb
Date: Thu Jan 20 19:13:54 2011
New Revision: 42530

URL: http://svn.erp5.org?rev=42530&view=rev
Log:
rename CommandLineTestCase to ERP5TypeCommandLineTestCase
in order to not have name consistent with ERP5TypeLiveTestCase

Modified:
    erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py

Modified: erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py?rev=42530&r1=42529&r2=42530&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py [utf8] Thu Jan 20 19:13:54 2011
@@ -625,7 +625,7 @@ class ERP5TypeTestCaseMixin(object):
 
         return ResponseWrapper(response, outstream, path)
 
-class CommandLineTestCase(object):
+class ERP5TypeCommandLineTestCase(object):
 
     def dummy_test(self):
       ZopeTestCase._print('All tests are skipped when --save option is passed '
@@ -1100,7 +1100,7 @@ class ERP5TypeTestCase(ERP5TypeTestCaseM
     """
 
     def __init__(self, *args, **kw):
-      type_test_case_klass = CommandLineTestCase
+      type_test_case_klass = ERP5TypeCommandLineTestCase
       from Products.ERP5Type.TransactionalVariable import \
             getTransactionalVariable
       unit_test_type = getTransactionalVariable().get('unit_test_type', None)
@@ -1117,7 +1117,7 @@ class ERP5TypeTestCase(ERP5TypeTestCaseM
 
 from Products.ERP5 import ERP5Site
 ERP5Site.getBootstrapBusinessTemplateUrl = lambda bt_title: \
-  CommandLineTestCase._getBTPathAndIdList((bt_title,))[0][0]
+  ERP5TypeCommandLineTestCase._getBTPathAndIdList((bt_title,))[0][0]
 
 
 class ResponseWrapper:



More information about the Erp5-report mailing list