From 800386ac3fd83113b533e736369865bd9018b801 Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Wed, 7 Feb 2024 13:26:41 +0000 Subject: [PATCH] tests: Add missing socket imports in tests Type: fix Change-Id: I646f96517d3bda5c0f5644e6bb89ade7818fc466 Signed-off-by: Tom Jones --- test/test_ikev2.py | 1 + test/vpp_ipsec.py | 2 ++ test/vpp_papi_provider.py | 1 + 3 files changed, 4 insertions(+) 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