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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
fcd38729
Commit
fcd38729
authored
Mar 20, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zelenium: py3
parent
ae66658a
Changes
1
Hide 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 @
fcd38729
...
@@ -9,7 +9,7 @@ import glob
...
@@ -9,7 +9,7 @@ import glob
import
logging
import
logging
import
os
import
os
import
re
import
re
from
six.moves.urllib.parse
import
unquote
from
six.moves.urllib.parse
import
unquote
_to_bytes
import
zipfile
import
zipfile
import
io
import
io
import
types
import
types
...
@@ -37,7 +37,7 @@ logger = logging.getLogger('event.Zelenium')
...
@@ -37,7 +37,7 @@ logger = logging.getLogger('event.Zelenium')
_NOW
=
None
# set only for testing
_NOW
=
None
# set only for testing
_PINK_BACKGROUND
=
re
.
compile
(
'bgcolor="#ffcfcf"'
)
_PINK_BACKGROUND
=
re
.
compile
(
b
'bgcolor="#ffcfcf"'
)
_EXCLUDE_NAMES
=
(
'CVS'
,
'.svn'
,
'.objects'
)
_EXCLUDE_NAMES
=
(
'CVS'
,
'.svn'
,
'.objects'
)
...
@@ -380,7 +380,7 @@ class Zuite( OrderedFolder ):
...
@@ -380,7 +380,7 @@ class Zuite( OrderedFolder ):
result
.
_setObject
(
'suite.html'
result
.
_setObject
(
'suite.html'
,
File
(
'suite.html'
,
File
(
'suite.html'
,
'Test Suite'
,
'Test Suite'
,
unquote
(
rfg
(
'suite'
)
)
,
unquote
_to_bytes
(
rfg
(
'suite'
)
)
,
'text/html'
,
'text/html'
)
)
)
)
...
@@ -390,7 +390,7 @@ class Zuite( OrderedFolder ):
...
@@ -390,7 +390,7 @@ class Zuite( OrderedFolder ):
test_ids
.
sort
()
test_ids
.
sort
()
for
test_id
in
test_ids
:
for
test_id
in
test_ids
:
body
=
unquote
(
rfg
(
test_id
)
)
body
=
unquote
_to_bytes
(
rfg
(
test_id
)
)
result
.
_setObject
(
test_id
result
.
_setObject
(
test_id
,
File
(
test_id
,
File
(
test_id
,
'Test case: %s'
%
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