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
6d6f60e8
Commit
6d6f60e8
authored
Aug 16, 2018
by
Roman Yurchak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark pandas as a known failure on Chrome
parent
076e9bb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
test/test_common.py
test/test_common.py
+11
-2
No files found.
test/test_common.py
View file @
6d6f60e8
...
@@ -27,12 +27,21 @@ def registered_packages_meta():
...
@@ -27,12 +27,21 @@ def registered_packages_meta():
for
name
in
packages
}
for
name
in
packages
}
UNSUPPORTED_PACKAGES
=
{
'ChromeWrapper'
:
[
'pandas'
],
'FirefoxWrapper'
:
[]}
@
pytest
.
mark
.
parametrize
(
'name'
,
registered_packages
())
@
pytest
.
mark
.
parametrize
(
'name'
,
registered_packages
())
def
test_
meta
(
selenium
,
name
):
def
test_
import
(
name
,
selenium
):
# check that we can parse the meta.yaml
# check that we can parse the meta.yaml
meta
=
common
.
parse_package
(
PKG_DIR
/
name
/
'meta.yaml'
)
meta
=
common
.
parse_package
(
PKG_DIR
/
name
/
'meta.yaml'
)
# check imports
if
name
in
UNSUPPORTED_PACKAGES
[
selenium
.
__class__
.
__name__
]:
pytest
.
xfail
(
'{} fails to load and is not supported on {}.'
.
format
(
name
,
selenium
.
__class__
.
__name__
.
replace
(
'Wrapper'
,
''
)))
for
import_name
in
meta
.
get
(
'test'
,
{}).
get
(
'imports'
,
[]):
for
import_name
in
meta
.
get
(
'test'
,
{}).
get
(
'imports'
,
[]):
selenium
.
load_package
(
import_name
)
selenium
.
load_package
(
import_name
)
selenium
.
run
(
'import %s'
%
import_name
)
selenium
.
run
(
'import %s'
%
import_name
)
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