mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
Fix websocket tests, so they just skip.
This commit is contained in:
@@ -3,7 +3,6 @@ Tests for the PyScript media module.
|
||||
"""
|
||||
|
||||
from pyscript import media
|
||||
import upytest
|
||||
|
||||
|
||||
async def test_device_enumeration():
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user