Skip to content

Commit 8dadd0c

Browse files
committed
forgot to skip test_sendraw_serial on CI
1 parent 791b03e commit 8dadd0c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_ws.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ def general_send_serial(socketio, close_port, serial_port, baudrate, buffertype)
133133
assert "/\"🧀🧀🧀🧀🧀🧀🧀🧀🧀🧀/\"" in output
134134
# the serial connection is closed by close_port() fixture: even if in case of test failure
135135

136-
136+
@pytest.mark.skipif(
137+
running_on_ci(),
138+
reason="VMs have no serial ports",
139+
)
137140
def test_sendraw_serial(socketio, close_port, serial_port, baudrate):
138141
global message
139142
message = []

0 commit comments

Comments
 (0)