Commit 464407f0 authored by Paul Graydon's avatar Paul Graydon

tests/__init__.py: Update

parent bd18d2d2
...@@ -3,12 +3,12 @@ import os, subprocess, re ...@@ -3,12 +3,12 @@ import os, subprocess, re
import sys import sys
from test_suite import ERP5TypeTestSuite from test_suite import ERP5TypeTestSuite
class ORSWendelin(ERP5TypeTestSuite): class WendelinTelecom(ERP5TypeTestSuite):
""" """
""" """
def setup(self): def setup(self):
ERP5TypeTestSuite.setup(self) ERP5TypeTestSuite.setup(self)
return self.runUnitTest('--save', 'ors-wendelin:setup') return self.runUnitTest('--save', 'wendelin-telecom:setup')
def run(self, full_test): def run(self, full_test):
test = ':' in full_test and full_test.split(':')[1] or full_test test = ':' in full_test and full_test.split(':')[1] or full_test
...@@ -42,8 +42,8 @@ class ORSWendelin(ERP5TypeTestSuite): ...@@ -42,8 +42,8 @@ class ORSWendelin(ERP5TypeTestSuite):
try: try:
summary, html_test_result = status_dict['stderr'].split("-"*79)[1:3] summary, html_test_result = status_dict['stderr'].split("-"*79)[1:3]
except ValueError: except ValueError:
# In case of error when parse the file, preserve the original # In case of error when parsing the file, preserve the original
# # informations. This prevents we have unfinished tests. # # informations. This prevents having unfinished tests.
return status_dict return status_dict
status_dict['html_test_result'] = html_test_result status_dict['html_test_result'] = html_test_result
search = self.FTEST_PASS_FAIL_RE.search(summary) search = self.FTEST_PASS_FAIL_RE.search(summary)
......
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