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
Labels
Merge Requests
138
Merge Requests
138
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
b4afb442
Commit
b4afb442
authored
Mar 20, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zelenium: py3
parent
619e6c5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/Zelenium/zuite.py
product/Zelenium/zuite.py
+4
-4
No files found.
product/Zelenium/zuite.py
View file @
b4afb442
...
...
@@ -9,7 +9,7 @@ import glob
import
logging
import
os
import
re
from
six.moves.urllib.parse
import
unquote
from
six.moves.urllib.parse
import
unquote
_to_bytes
import
zipfile
import
io
import
types
...
...
@@ -37,7 +37,7 @@ logger = logging.getLogger('event.Zelenium')
_NOW
=
None
# set only for testing
_PINK_BACKGROUND
=
re
.
compile
(
'bgcolor="#ffcfcf"'
)
_PINK_BACKGROUND
=
re
.
compile
(
b
'bgcolor="#ffcfcf"'
)
_EXCLUDE_NAMES
=
(
'CVS'
,
'.svn'
,
'.objects'
)
...
...
@@ -380,7 +380,7 @@ class Zuite( OrderedFolder ):
result
.
_setObject
(
'suite.html'
,
File
(
'suite.html'
,
'Test Suite'
,
unquote
(
rfg
(
'suite'
)
)
,
unquote
_to_bytes
(
rfg
(
'suite'
)
)
,
'text/html'
)
)
...
...
@@ -390,7 +390,7 @@ class Zuite( OrderedFolder ):
test_ids
.
sort
()
for
test_id
in
test_ids
:
body
=
unquote
(
rfg
(
test_id
)
)
body
=
unquote
_to_bytes
(
rfg
(
test_id
)
)
result
.
_setObject
(
test_id
,
File
(
test_id
,
'Test case: %s'
%
test_id
...
...
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