Commit 27e08b98 authored by Paul Graydon's avatar Paul Graydon

tests/__init__.py: Update

parent 514bb421
......@@ -4,17 +4,12 @@ import sys
from test_suite import ERP5TypeTestSuite
class WendelinTelecom(ERP5TypeTestSuite):
"""
"""
def setup(self):
ERP5TypeTestSuite.setup(self)
return self.runUnitTest('--save', 'wendelin-telecom:setup')
def run(self, full_test):
test = ':' in full_test and full_test.split(':')[1] or full_test
if test.startswith('testFunctional'):
return self._updateFunctionalTestResponse(self.runUnitTest('--load', full_test))
return self.runUnitTest('--load', full_test)
return self._updateFunctionalTestResponse(self.runUnitTest(full_test))
return self.runUnitTest(full_test)
def getTestList(self):
test_list = []
......@@ -36,7 +31,7 @@ class WendelinTelecom(ERP5TypeTestSuite):
def _updateFunctionalTestResponse(self, status_dict):
""" Convert the Unit Test output into more accurate information
related to funcional test run.
related to functional test run.
"""
# Parse relevant information to update response information
try:
......
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