diff --git a/core/tests/python/tests/test_media.py b/core/tests/python/tests/test_media.py index cbb4d980..7c30d65b 100644 --- a/core/tests/python/tests/test_media.py +++ b/core/tests/python/tests/test_media.py @@ -3,7 +3,6 @@ Tests for the PyScript media module. """ from pyscript import media -import upytest async def test_device_enumeration(): diff --git a/core/tests/python/tests/no_websocket.py b/core/tests/python/tests/test_websocket.py similarity index 96% rename from core/tests/python/tests/no_websocket.py rename to core/tests/python/tests/test_websocket.py index 8f0abbf7..8561eab1 100644 --- a/core/tests/python/tests/no_websocket.py +++ b/core/tests/python/tests/test_websocket.py @@ -3,10 +3,12 @@ Exercise the pyscript.Websocket class. """ import asyncio +import upytest from pyscript import WebSocket +@upytest.skip("Websocket tests are disabled.") async def test_websocket_with_attributes(): """ Event handlers assigned via object attributes. @@ -52,6 +54,7 @@ async def test_websocket_with_attributes(): assert closed_flag is True +@upytest.skip("Websocket tests are disabled.") async def test_websocket_with_init(): """ Event handlers assigned via __init__ arguments.