CI: fix error when running pppos test app with python3

Socket.sendall expects bytes in python3, not strings
This commit is contained in:
Marius Vikhammer
2021-05-19 11:42:42 +08:00
parent 8a841d7cdf
commit b5976a7167

View File

@@ -76,7 +76,7 @@ def test_examples_protocol_pppos_connect(env, extra_data):
af, socktype, proto, canonname, addr = res
sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
sock.connect(addr)
sock.sendall("Espressif")
sock.sendall(b"Espressif")
sock.close()
dut1.expect(re.compile(r"IPv6 test passed"))