aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2019-01-29 11:38:08 +0100
committerKlement Sekera <ksekera@cisco.com>2019-01-29 11:39:57 +0100
commitbf613955cacbce7e0b0ae3b25755f65abefc2ec0 (patch)
tree9cb2770d99048f5331d92e526e0b741a13251bb2 /test
parent6077c97a60e06e17f8d33070ee3e4843c190f28d (diff)
make test: remove generic imports
Change-Id: I55b89f0d9fb082c7763b64b09ab14573468c6704 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_ipsec_ah.py3
-rw-r--r--test/test_ipsec_api.py2
-rw-r--r--test/test_ipsec_esp.py3
-rw-r--r--test/test_ipsec_nat.py3
4 files changed, 7 insertions, 4 deletions
diff --git a/test/test_ipsec_ah.py b/test/test_ipsec_ah.py
index 3a562e139bb..63e368c0a4a 100644
--- a/test/test_ipsec_ah.py
+++ b/test/test_ipsec_ah.py
@@ -6,7 +6,8 @@ from scapy.layers.ipsec import AH
from framework import VppTestRunner
from template_ipsec import TemplateIpsec, IpsecTraTests, IpsecTunTests
from template_ipsec import IpsecTcpTests
-from vpp_ipsec import *
+from vpp_ipsec import VppIpsecSA, VppIpsecSpd, VppIpsecSpdEntry,\
+ VppIpsecSpdItfBinding
from vpp_ip_route import VppIpRoute, VppRoutePath
from vpp_ip import DpoProto
diff --git a/test/test_ipsec_api.py b/test/test_ipsec_api.py
index afad2b1de1f..30496b3792f 100644
--- a/test/test_ipsec_api.py
+++ b/test/test_ipsec_api.py
@@ -1,7 +1,7 @@
import unittest
from framework import VppTestCase, VppTestRunner
-from template_ipsec import TemplateIpsec, IPsecIPv4Params
+from template_ipsec import IPsecIPv4Params
class IpsecApiTestCase(VppTestCase):
diff --git a/test/test_ipsec_esp.py b/test/test_ipsec_esp.py
index cb8527aff60..96e4833621a 100644
--- a/test/test_ipsec_esp.py
+++ b/test/test_ipsec_esp.py
@@ -5,7 +5,8 @@ from scapy.layers.ipsec import ESP
from framework import VppTestRunner
from template_ipsec import IpsecTraTests, IpsecTunTests
from template_ipsec import TemplateIpsec, IpsecTcpTests
-from vpp_ipsec import *
+from vpp_ipsec import VppIpsecSpd, VppIpsecSpdEntry, VppIpsecSA,\
+ VppIpsecSpdItfBinding
from vpp_ip_route import VppIpRoute, VppRoutePath
from vpp_ip import DpoProto
diff --git a/test/test_ipsec_nat.py b/test/test_ipsec_nat.py
index aa6d87cb96e..89418b108e2 100644
--- a/test/test_ipsec_nat.py
+++ b/test/test_ipsec_nat.py
@@ -7,7 +7,8 @@ from scapy.layers.inet import ICMP, IP, TCP, UDP
from scapy.layers.ipsec import SecurityAssociation, ESP
from util import ppp, ppc
from template_ipsec import TemplateIpsec
-from vpp_ipsec import *
+from vpp_ipsec import VppIpsecSA, VppIpsecSpd, VppIpsecSpdEntry,\
+ VppIpsecSpdItfBinding
from vpp_ip_route import VppIpRoute, VppRoutePath
from vpp_ip import DpoProto