diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-02-28 09:00:09 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-01 09:28:09 +0000 |
commit | a279d9cf615bd60439085ba103125e6f2fa3b27c (patch) | |
tree | 53544c5534b573251d1067bb72078d2ff6ebce00 /test/test_abf.py | |
parent | e8fece85e2b6190a1ebdc05c10cd79e43f385918 (diff) |
Tests: Remove all wildcard imports.
They mask dependencies and confuse third party tools.
Change-Id: I24ee16bfa0d746a8e8cb99891ba8b20523048b69
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/test_abf.py')
-rw-r--r-- | test/test_abf.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_abf.py b/test/test_abf.py index fb30fc3018c..cff56c4d309 100644 --- a/test/test_abf.py +++ b/test/test_abf.py @@ -1,18 +1,18 @@ #!/usr/bin/env python +from socket import inet_pton, inet_ntop, AF_INET, AF_INET6 +import unittest + from framework import VppTestCase, VppTestRunner -from vpp_udp_encap import * from vpp_ip import DpoProto -from vpp_ip_route import VppIpRoute, VppRoutePath, VppIpTable +from vpp_ip_route import VppIpRoute, VppRoutePath, VppMplsLabel from scapy.packet import Raw -from scapy.layers.l2 import Ether, ARP +from scapy.layers.l2 import Ether from scapy.layers.inet import IP, UDP from scapy.layers.inet6 import IPv6 -from scapy.contrib.mpls import MPLS -from vpp_object import * -from socket import inet_pton, inet_ntop, AF_INET, AF_INET6 +from vpp_object import VppObject def find_abf_policy(test, id): |