diff options
Diffstat (limited to 'test/test_dvr.py')
-rw-r--r-- | test/test_dvr.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_dvr.py b/test/test_dvr.py index cd2e09a9d46..e616408e8c7 100644 --- a/test/test_dvr.py +++ b/test/test_dvr.py @@ -1,7 +1,8 @@ #!/usr/bin/env python3 import unittest -from framework import VppTestCase, VppTestRunner +from framework import VppTestCase +from asfframework import VppTestRunner from vpp_ip_route import VppIpRoute, VppRoutePath, FibPathType from vpp_l2 import L2_PORT_TYPE from vpp_sub_interface import L2_VTR_OP, VppDot1QSubint @@ -10,7 +11,7 @@ from vpp_acl import AclRule, VppAcl, VppAclInterface from scapy.packet import Raw from scapy.layers.l2 import Ether, Dot1Q from scapy.layers.inet import IP, UDP -from socket import AF_INET, inet_pton +from socket import AF_INET from ipaddress import IPv4Network NUM_PKTS = 67 |