aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-02-07 13:26:41 +0000
committerDave Wallace <dwallacelf@gmail.com>2024-04-02 02:25:22 +0000
commit800386ac3fd83113b533e736369865bd9018b801 (patch)
tree1d023d79e75a546323dd6361ab4e05d6b24a76ae /test
parentf2fc97aafc717097fa984db62191ca7e13c276e5 (diff)
tests: Add missing socket imports in tests
Type: fix Change-Id: I646f96517d3bda5c0f5644e6bb89ade7818fc466 Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'test')
-rw-r--r--test/test_ikev2.py1
-rw-r--r--test/vpp_ipsec.py2
-rw-r--r--test/vpp_papi_provider.py1
3 files changed, 4 insertions, 0 deletions
diff --git a/test/test_ikev2.py b/test/test_ikev2.py
index be788d86b3f..d25b448eb68 100644
--- a/test/test_ikev2.py
+++ b/test/test_ikev2.py
@@ -1,4 +1,5 @@
import os
+import socket
import time
from socket import inet_pton
from cryptography import x509
diff --git a/test/vpp_ipsec.py b/test/vpp_ipsec.py
index e354cfc8ac6..96a585a6e77 100644
--- a/test/vpp_ipsec.py
+++ b/test/vpp_ipsec.py
@@ -1,3 +1,5 @@
+import socket
+
from vpp_object import VppObject
from ipaddress import ip_address
from vpp_papi import VppEnum
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index d1c40a97bce..2d49bf2a8f0 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -6,6 +6,7 @@
#
import os
+import socket
import time
import queue
from six import moves, iteritems