8000 Fix websocket tests, so they just skip. · pyscript/pyscript@f5bd62a · GitHub
[go: up one dir, main page]

Skip to content

Commit f5bd62a

Browse files
committed
Fix websocket tests, so they just skip.
1 parent 042fb93 commit f5bd62a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

core/tests/python/tests/test_media.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"""
44

55
from pyscript import media
6-
import upytest
76

87

98
async def test_device_enumeration():

core/tests/python/tests/no_websocket.py renamed to core/tests/python/tests/test_websocket.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
"""
44

55
import asyncio
6+
import upytest
67

78
from pyscript import WebSocket
89

910

11+
@upytest.skip("Websocket tests are disabled.")
1012
async def test_websocket_with_attributes():
1113
"""
1214
Event handlers assigned via object attributes.
@@ -52,6 +54,7 @@ def on_close(event):
5254
assert closed_flag is True
5355

5456

57+
@upytest.skip("Websocket tests are disabled.")
5558
async def test_websocket_with_init():
5659
"""
5760
Event handlers assigned via __init__ arguments.

0 commit comments

Comments
 (0)
0