Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
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
Boxiang Sun
pyodide
Commits
02b61eea
Commit
02b61eea
authored
Aug 20, 2018
by
Roman Yurchak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use selenium.browser in test_run_core_python_test
parent
f0b9cf1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/test_python.py
test/test_python.py
+3
-3
No files found.
test/test_python.py
View file @
02b61eea
...
@@ -285,11 +285,11 @@ def test_open_url(selenium):
...
@@ -285,11 +285,11 @@ def test_open_url(selenium):
@
pytest
.
mark
.
flaky
(
reruns
=
2
)
@
pytest
.
mark
.
flaky
(
reruns
=
2
)
def
test_run_core_python_test
(
python_test
,
selenium
,
request
):
def
test_run_core_python_test
(
python_test
,
selenium
,
request
):
name
,
error_flags
=
python_test
name
,
error_flags
=
python_test
driver_name
=
(
selenium
.
__class__
.
__name__
.
replace
(
'Wrapper'
,
''
).
lower
())
if
(
'crash'
in
error_flags
or
if
(
'crash'
in
error_flags
or
'crash-'
+
driver_name
in
error_flags
):
'crash-'
+
selenium
.
browser
in
error_flags
):
request
.
applymarker
(
pytest
.
mark
.
xfail
(
request
.
applymarker
(
pytest
.
mark
.
xfail
(
run
=
False
,
reason
=
'known failure with code "{}"'
run
=
False
,
reason
=
'known failure with code "{}"'
.
format
(
','
.
join
(
error_flags
))))
.
format
(
','
.
join
(
error_flags
))))
...
...
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