mirror of https://github.com/pyodide/pyodide.git
16 lines
473 B
Python
16 lines
473 B
Python
![]() |
from pytest_pyodide.decorator import run_in_pyodide
|
||
|
|
||
|
|
||
|
@run_in_pyodide(packages=["xyzservices"])
|
||
|
def test_xyzservices(selenium):
|
||
|
"""
|
||
|
Check whether any errors occur by testing basic functionality.
|
||
|
Intended to function as a regression test.
|
||
|
Might fail if xyzservices is upgraded and the data
|
||
|
or API changes.
|
||
|
"""
|
||
|
import xyzservices.providers
|
||
|
|
||
|
# assert the module produces something for this
|
||
|
assert xyzservices.providers.CartoDB.Positron.url
|