Skip to content

Commit 3e749d8

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

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/integration_tests/functional/test_vsock.py

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

2625
import pytest
@@ -397,6 +396,7 @@ def test_vsock_override_fails_without_device(uvm_plain_any, microvm_factory):
397396
def test_vsock_seqpacket_h2g(
398397
uvm_plain_6_1, bin_vsock_seqpacket_listener_path, test_fc_session_root_path
399398
):
399+
"""Test host-to-guest vsock seqpacket connections."""
400400
vm = uvm_plain_6_1
401401
vm.spawn()
402402
vm.basic_config()
@@ -432,6 +432,7 @@ def test_vsock_seqpacket_g2h(
432432
bin_vsock_path,
433433
test_fc_session_root_path,
434434
):
435+
"""Test guest-to-host vsock seqpacket connections."""
435436
vm = uvm_plain_6_1
436437
vm.spawn()
437438
vm.basic_config()

0 commit comments

Comments
 (0)