Skip to content

Commit 0f323e3

Browse files
committed
chore(tests): address pylint
- add python docstrings and arrange imports Signed-off-by: aerosouund <aerosound161@gmail.com>
1 parent 3d32e1c commit 0f323e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integration_tests/functional/test_vsock.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
import subprocess
1919
import time
2020
from pathlib import Path
21-
from socket import SOCK_SEQPACKET
22-
from socket import timeout as SocketTimeout
23-
from ssl import SOCK_STREAM
21+
from socket import SOCK_SEQPACKET, SOCK_STREAM, timeout as SocketTimeout
2422
from threading import Thread
2523

2624
import pytest
@@ -317,6 +315,7 @@ def test_vsock_transport_reset_g2h(uvm_plain_any, microvm_factory):
317315
def test_vsock_seqpacket_h2g(
318316
uvm_plain_6_1, bin_vsock_seqpacket_listener_path, test_fc_session_root_path
319317
):
318+
"""Test host-to-guest vsock seqpacket connections."""
320319
vm = uvm_plain_6_1
321320
vm.spawn()
322321
vm.basic_config()
@@ -352,6 +351,7 @@ def test_vsock_seqpacket_g2h(
352351
bin_vsock_path,
353352
test_fc_session_root_path,
354353
):
354+
"""Test guest-to-host vsock seqpacket connections."""
355355
vm = uvm_plain_6_1
356356
vm.spawn()
357357
vm.basic_config()

0 commit comments

Comments
 (0)