Commit 58a31895 authored by Sebastien Robin's avatar Sebastien Robin

rename CommandLineTestCase to ERP5TypeCommandLineTestCase

in order to not have name consistent with ERP5TypeLiveTestCase

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42530 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 22c8fd66
...@@ -625,7 +625,7 @@ class ERP5TypeTestCaseMixin(object): ...@@ -625,7 +625,7 @@ class ERP5TypeTestCaseMixin(object):
return ResponseWrapper(response, outstream, path) return ResponseWrapper(response, outstream, path)
class CommandLineTestCase(object): class ERP5TypeCommandLineTestCase(object):
def dummy_test(self): def dummy_test(self):
ZopeTestCase._print('All tests are skipped when --save option is passed ' ZopeTestCase._print('All tests are skipped when --save option is passed '
...@@ -1100,7 +1100,7 @@ class ERP5TypeTestCase(ERP5TypeTestCaseMixin): ...@@ -1100,7 +1100,7 @@ class ERP5TypeTestCase(ERP5TypeTestCaseMixin):
""" """
def __init__(self, *args, **kw): def __init__(self, *args, **kw):
type_test_case_klass = CommandLineTestCase type_test_case_klass = ERP5TypeCommandLineTestCase
from Products.ERP5Type.TransactionalVariable import \ from Products.ERP5Type.TransactionalVariable import \
getTransactionalVariable getTransactionalVariable
unit_test_type = getTransactionalVariable().get('unit_test_type', None) unit_test_type = getTransactionalVariable().get('unit_test_type', None)
...@@ -1117,7 +1117,7 @@ class ERP5TypeTestCase(ERP5TypeTestCaseMixin): ...@@ -1117,7 +1117,7 @@ class ERP5TypeTestCase(ERP5TypeTestCaseMixin):
from Products.ERP5 import ERP5Site from Products.ERP5 import ERP5Site
ERP5Site.getBootstrapBusinessTemplateUrl = lambda bt_title: \ ERP5Site.getBootstrapBusinessTemplateUrl = lambda bt_title: \
CommandLineTestCase._getBTPathAndIdList((bt_title,))[0][0] ERP5TypeCommandLineTestCase._getBTPathAndIdList((bt_title,))[0][0]
class ResponseWrapper: class ResponseWrapper:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment