Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mukul
erp5
Commits
7f719af7
Commit
7f719af7
authored
Aug 30, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert previous change and apply appropriate fix.
parent
1f4677ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
+2
-4
No files found.
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
View file @
7f719af7
...
...
@@ -284,7 +284,7 @@ class FunctionalTestRunner:
xvfb.quit()
def processResult(self):
file_content = self.getStatus()
file_content = self.getStatus()
.encode("utf-8", "replace")
sucess_amount = TEST_PASS_RE.search(file_content).group(1)
failure_amount = TEST_FAILURE_RE.search(file_content).group(1)
error_title_list = [re.compile('
\
s+
'
).sub(' ', x).strip()
...
...
@@ -306,9 +306,7 @@ class FunctionalTestRunner:
</html>''' % detail
# When return fix output for handle unicode issues.
return unicode(detail, "utf-8", "replace"), int(sucess_amount),
\
int(failure_amount),
\
[unicode(i, "utf-8", "replace") for i in error_title_list]
return detail, int(sucess_amount), int(failure_amount), error_title_list
class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
run_only = ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment