aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/discover_tests.py2
-rw-r--r--test/framework.py2
-rw-r--r--test/ipfix.py2
-rw-r--r--test/log.py2
-rw-r--r--test/patches/scapy-2.3.3/geneve.patch2
-rw-r--r--test/patches/scapy-2.4/geneve.patch2
-rw-r--r--test/remote_test.py2
-rw-r--r--test/run_tests.py2
-rw-r--r--test/sanity_import_vpp_papi.py2
-rw-r--r--test/sanity_run_vpp.py2
-rw-r--r--test/template_bd.py2
-rw-r--r--test/test_bfd.py2
-rw-r--r--test/test_bier.py2
-rw-r--r--test/test_bihash.py2
-rw-r--r--test/test_bond.py2
-rw-r--r--test/test_buffers.py2
-rw-r--r--test/test_classifier.py2
-rw-r--r--test/test_classifier_ip6.py2
-rw-r--r--test/test_cli.py2
-rw-r--r--test/test_container.py2
-rw-r--r--test/test_crypto.py2
-rw-r--r--test/test_dvr.py2
-rw-r--r--test/test_fib.py2
-rw-r--r--test/test_geneve.py2
-rw-r--r--test/test_gre.py2
-rw-r--r--test/test_gso.py2
-rw-r--r--test/test_interface_crud.py2
-rw-r--r--test/test_ip4.py2
-rw-r--r--test/test_ip4_irb.py2
-rw-r--r--test/test_ip4_vrf_multi_instance.py2
-rw-r--r--test/test_ip6.py2
-rw-r--r--test/test_ip6_vrf_multi_instance.py2
-rw-r--r--test/test_ip_ecmp.py2
-rw-r--r--test/test_ip_mcast.py2
-rw-r--r--test/test_ipip.py2
-rw-r--r--test/test_l2_fib.py2
-rw-r--r--test/test_l2_flood.py2
-rw-r--r--test/test_l2bd.py2
-rw-r--r--test/test_l2bd_arp_term.py2
-rw-r--r--test/test_l2bd_multi_instance.py2
-rw-r--r--test/test_l2tp.py2
-rw-r--r--test/test_l2xc.py2
-rw-r--r--test/test_l2xc_multi_instance.py2
-rw-r--r--test/test_lisp.py2
-rw-r--r--test/test_mpcap.py2
-rw-r--r--test/test_mpls.py2
-rw-r--r--test/test_mtu.py2
-rw-r--r--test/test_neighbor.py2
-rw-r--r--test/test_p2p_ethernet.py2
-rw-r--r--test/test_pipe.py2
-rw-r--r--test/test_punt.py2
-rw-r--r--test/test_qos.py2
-rw-r--r--test/test_reassembly.py2
-rw-r--r--test/test_session.py2
-rw-r--r--test/test_sixrd.py2
-rw-r--r--test/test_span.py2
-rw-r--r--test/test_sparse_vec.py2
-rw-r--r--test/test_srmpls.py2
-rw-r--r--test/test_stats_client.py2
-rw-r--r--test/test_string.py2
-rw-r--r--test/test_syslog.py2
-rw-r--r--test/test_tcp.py2
-rw-r--r--test/test_tls.py2
-rw-r--r--test/test_udp.py2
-rwxr-xr-xtest/test_util.py2
-rw-r--r--test/test_vapi.py2
-rw-r--r--test/test_vcl.py2
-rw-r--r--test/test_vhost.py2
-rw-r--r--test/test_vom.py2
-rw-r--r--test/test_vtr.py2
-rw-r--r--test/test_vxlan.py2
-rw-r--r--test/test_vxlan6.py2
-rw-r--r--test/test_vxlan_gbp.py2
-rw-r--r--test/test_vxlan_gpe.py2
-rw-r--r--test/vpp_udp_encap.py2
75 files changed, 75 insertions, 75 deletions
diff --git a/test/discover_tests.py b/test/discover_tests.py
index 6dea20e3de5..1e581a57b6f 100755
--- a/test/discover_tests.py
+++ b/test/discover_tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
import os
diff --git a/test/framework.py b/test/framework.py
index 9508297432e..0138d245577 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
import gc
diff --git a/test/ipfix.py b/test/ipfix.py
index 374a8522168..5b32a85a2e7 100644
--- a/test/ipfix.py
+++ b/test/ipfix.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# IPFIX support for Scapy (RFC7011)
from scapy.all import bind_layers, FieldLenField, IntField, Packet, \
diff --git a/test/log.py b/test/log.py
index b0254f9abee..b0fe037e1ba 100644
--- a/test/log.py
+++ b/test/log.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
import os
diff --git a/test/patches/scapy-2.3.3/geneve.patch b/test/patches/scapy-2.3.3/geneve.patch
index 92752f1196e..6db3667b30b 100644
--- a/test/patches/scapy-2.3.3/geneve.patch
+++ b/test/patches/scapy-2.3.3/geneve.patch
@@ -4,7 +4,7 @@ index 0000000..e2ca888
--- /dev/null
+++ b/scapy/layers/geneve.py
@@ -0,0 +1,50 @@
-+#! /usr/bin/env python
++#! /usr/bin/env python3
+# (GENEVE):
+# A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks
+
diff --git a/test/patches/scapy-2.4/geneve.patch b/test/patches/scapy-2.4/geneve.patch
index 92752f1196e..6db3667b30b 100644
--- a/test/patches/scapy-2.4/geneve.patch
+++ b/test/patches/scapy-2.4/geneve.patch
@@ -4,7 +4,7 @@ index 0000000..e2ca888
--- /dev/null
+++ b/scapy/layers/geneve.py
@@ -0,0 +1,50 @@
-+#! /usr/bin/env python
++#! /usr/bin/env python3
+# (GENEVE):
+# A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks
+
diff --git a/test/remote_test.py b/test/remote_test.py
index d084133d475..8b3def2b8c6 100644
--- a/test/remote_test.py
+++ b/test/remote_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import inspect
import os
diff --git a/test/run_tests.py b/test/run_tests.py
index d52209d82b3..09b68a217a5 100644
--- a/test/run_tests.py
+++ b/test/run_tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
import shutil
diff --git a/test/sanity_import_vpp_papi.py b/test/sanity_import_vpp_papi.py
index 535e00c9967..37fbd5a54d5 100644
--- a/test/sanity_import_vpp_papi.py
+++ b/test/sanity_import_vpp_papi.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" sanity check script """
import vpp_papi
diff --git a/test/sanity_run_vpp.py b/test/sanity_run_vpp.py
index 2ee7d310a35..535d054fe51 100644
--- a/test/sanity_run_vpp.py
+++ b/test/sanity_run_vpp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from __future__ import print_function
from multiprocessing import Pipe
diff --git a/test/template_bd.py b/test/template_bd.py
index 39f71438ab0..c4017616a9b 100644
--- a/test/template_bd.py
+++ b/test/template_bd.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import abc
import six
diff --git a/test/test_bfd.py b/test/test_bfd.py
index d3616c7e241..7d529767d16 100644
--- a/test/test_bfd.py
+++ b/test/test_bfd.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" BFD tests """
from __future__ import division
diff --git a/test/test_bier.py b/test/test_bier.py
index b188c364a7a..b02014daa33 100644
--- a/test/test_bier.py
+++ b/test/test_bier.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_bihash.py b/test/test_bihash.py
index ccebea3ac75..04b1b4f635a 100644
--- a/test/test_bihash.py
+++ b/test/test_bihash.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_bond.py b/test/test_bond.py
index f6a9b08426b..1b6c10b14ae 100644
--- a/test/test_bond.py
+++ b/test/test_bond.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
import unittest
diff --git a/test/test_buffers.py b/test/test_buffers.py
index fe92378b484..f50f05c609a 100644
--- a/test/test_buffers.py
+++ b/test/test_buffers.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from framework import VppTestCase
diff --git a/test/test_classifier.py b/test/test_classifier.py
index 0e6123ce93f..d99f66c991d 100644
--- a/test/test_classifier.py
+++ b/test/test_classifier.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import binascii
import socket
diff --git a/test/test_classifier_ip6.py b/test/test_classifier_ip6.py
index 0522520d309..464034df1af 100644
--- a/test/test_classifier_ip6.py
+++ b/test/test_classifier_ip6.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import socket
diff --git a/test/test_cli.py b/test/test_cli.py
index d3e69e924b5..97885b9b44e 100644
--- a/test/test_cli.py
+++ b/test/test_cli.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""CLI functional tests"""
import unittest
diff --git a/test/test_container.py b/test/test_container.py
index 1e3ec40a2f7..68a7dacbb37 100644
--- a/test/test_container.py
+++ b/test/test_container.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" Container integration tests """
import unittest
diff --git a/test/test_crypto.py b/test/test_crypto.py
index f921112d9b1..aa62dba1bab 100644
--- a/test/test_crypto.py
+++ b/test/test_crypto.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_dvr.py b/test/test_dvr.py
index 62dcb611d55..d9bb7ac711f 100644
--- a/test/test_dvr.py
+++ b/test/test_dvr.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
from framework import VppTestCase, VppTestRunner
diff --git a/test/test_fib.py b/test/test_fib.py
index 6acde0a6363..faafdad15b0 100644
--- a/test/test_fib.py
+++ b/test/test_fib.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_geneve.py b/test/test_geneve.py
index 56b99518720..d5d621f052e 100644
--- a/test/test_geneve.py
+++ b/test/test_geneve.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
from util import ip4_range, ip4_range
diff --git a/test/test_gre.py b/test/test_gre.py
index c5239b2cf9d..6828ac6f919 100644
--- a/test/test_gre.py
+++ b/test/test_gre.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_gso.py b/test/test_gso.py
index f6a50a849b1..06ae7dd2f48 100644
--- a/test/test_gso.py
+++ b/test/test_gso.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""GSO functional tests"""
#
diff --git a/test/test_interface_crud.py b/test/test_interface_crud.py
index 4711c2f7931..afeafa5f73b 100644
--- a/test/test_interface_crud.py
+++ b/test/test_interface_crud.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""CRUD tests of APIs (Create, Read, Update, Delete) HLD:
- interface up/down/add/delete - interface type:
diff --git a/test/test_ip4.py b/test/test_ip4.py
index a043be8b922..0f37e73fceb 100644
--- a/test/test_ip4.py
+++ b/test/test_ip4.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import binascii
import random
import socket
diff --git a/test/test_ip4_irb.py b/test/test_ip4_irb.py
index df663552f42..20181b0a32b 100644
--- a/test/test_ip4_irb.py
+++ b/test/test_ip4_irb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""IRB Test Case HLD:
**config**
diff --git a/test/test_ip4_vrf_multi_instance.py b/test/test_ip4_vrf_multi_instance.py
index b659ed7064f..f1ad6703604 100644
--- a/test/test_ip4_vrf_multi_instance.py
+++ b/test/test_ip4_vrf_multi_instance.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""IP4 VRF Multi-instance Test Case HLD:
**NOTES:**
diff --git a/test/test_ip6.py b/test/test_ip6.py
index a8a730c615c..f5ed09f6683 100644
--- a/test/test_ip6.py
+++ b/test/test_ip6.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
import unittest
diff --git a/test/test_ip6_vrf_multi_instance.py b/test/test_ip6_vrf_multi_instance.py
index 49e5cab5f6a..31e00dc8e6a 100644
--- a/test/test_ip6_vrf_multi_instance.py
+++ b/test/test_ip6_vrf_multi_instance.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""IP6 VRF Multi-instance Test Case HLD:
**NOTES:**
diff --git a/test/test_ip_ecmp.py b/test/test_ip_ecmp.py
index 2fe266023f7..cc93ab731d3 100644
--- a/test/test_ip_ecmp.py
+++ b/test/test_ip_ecmp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import random
diff --git a/test/test_ip_mcast.py b/test/test_ip_mcast.py
index d1f26d11325..f7a50825d81 100644
--- a/test/test_ip_mcast.py
+++ b/test/test_ip_mcast.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_ipip.py b/test/test_ipip.py
index a259a5d18fa..e723950b7a7 100644
--- a/test/test_ipip.py
+++ b/test/test_ipip.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""IP{4,6} over IP{v,6} tunnel functional tests"""
import unittest
diff --git a/test/test_l2_fib.py b/test/test_l2_fib.py
index 4a5cb56352a..106a7902da5 100644
--- a/test/test_l2_fib.py
+++ b/test/test_l2_fib.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""L2 FIB Test Case HLD:
**config 1**
diff --git a/test/test_l2_flood.py b/test/test_l2_flood.py
index 8ff0bc2b090..f4d1c07c62c 100644
--- a/test/test_l2_flood.py
+++ b/test/test_l2_flood.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import socket
diff --git a/test/test_l2bd.py b/test/test_l2bd.py
index ecd031188eb..5eca48c6e9b 100644
--- a/test/test_l2bd.py
+++ b/test/test_l2bd.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import random
diff --git a/test/test_l2bd_arp_term.py b/test/test_l2bd_arp_term.py
index 279dcf2d3c6..e72a42e1165 100644
--- a/test/test_l2bd_arp_term.py
+++ b/test/test_l2bd_arp_term.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" L2BD ARP term Test """
import unittest
diff --git a/test/test_l2bd_multi_instance.py b/test/test_l2bd_multi_instance.py
index 8ceec745787..cb00a4e0ecc 100644
--- a/test/test_l2bd_multi_instance.py
+++ b/test/test_l2bd_multi_instance.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""L2BD Multi-instance Test Case HLD:
**NOTES:**
diff --git a/test/test_l2tp.py b/test/test_l2tp.py
index 6ce7de75d40..c57b5912de1 100644
--- a/test/test_l2tp.py
+++ b/test/test_l2tp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_l2xc.py b/test/test_l2xc.py
index 1e786e48b4d..bc653f0b4fb 100644
--- a/test/test_l2xc.py
+++ b/test/test_l2xc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import random
diff --git a/test/test_l2xc_multi_instance.py b/test/test_l2xc_multi_instance.py
index 061656a8270..2a6e41c8791 100644
--- a/test/test_l2xc_multi_instance.py
+++ b/test/test_l2xc_multi_instance.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""L2XC Multi-instance Test Case HLD:
**NOTES:**
diff --git a/test/test_lisp.py b/test/test_lisp.py
index 0b89b1f0d68..e0b82087f69 100644
--- a/test/test_lisp.py
+++ b/test/test_lisp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import abc
import six
diff --git a/test/test_mpcap.py b/test/test_mpcap.py
index 466e663c799..d77b543799f 100644
--- a/test/test_mpcap.py
+++ b/test/test_mpcap.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_mpls.py b/test/test_mpls.py
index 5b3054801e7..f7f634d60bf 100644
--- a/test/test_mpls.py
+++ b/test/test_mpls.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import socket
diff --git a/test/test_mtu.py b/test/test_mtu.py
index c18ef9f4cdf..3c938a8cdce 100644
--- a/test/test_mtu.py
+++ b/test/test_mtu.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""IP4 and IP6 MTU functional tests"""
#
diff --git a/test/test_neighbor.py b/test/test_neighbor.py
index 81c3acb09a3..7068fd05b04 100644
--- a/test/test_neighbor.py
+++ b/test/test_neighbor.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
from socket import AF_INET, AF_INET6, inet_pton
diff --git a/test/test_p2p_ethernet.py b/test/test_p2p_ethernet.py
index 8ae6cb26fe0..7a8c56092fb 100644
--- a/test/test_p2p_ethernet.py
+++ b/test/test_p2p_ethernet.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import random
import unittest
import datetime
diff --git a/test/test_pipe.py b/test/test_pipe.py
index 20e6d2a4e1f..89ef1f3cadb 100644
--- a/test/test_pipe.py
+++ b/test/test_pipe.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from socket import AF_INET, AF_INET6, inet_pton
import unittest
diff --git a/test/test_punt.py b/test/test_punt.py
index 345d9309c8b..4b9a05043f8 100644
--- a/test/test_punt.py
+++ b/test/test_punt.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import binascii
import random
import socket
diff --git a/test/test_qos.py b/test/test_qos.py
index ef4e495fbea..02941a163b4 100644
--- a/test/test_qos.py
+++ b/test/test_qos.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_reassembly.py b/test/test_reassembly.py
index ace11f73d3d..e9a3af3a0ff 100644
--- a/test/test_reassembly.py
+++ b/test/test_reassembly.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import six
import unittest
diff --git a/test/test_session.py b/test/test_session.py
index aceff656e4e..60e5eb4f8a3 100644
--- a/test/test_session.py
+++ b/test/test_session.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_sixrd.py b/test/test_sixrd.py
index ae4af15c2e3..cb2f6799461 100644
--- a/test/test_sixrd.py
+++ b/test/test_sixrd.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" 6RD RFC5969 functional tests """
import unittest
diff --git a/test/test_span.py b/test/test_span.py
index 3b31f6242e2..7d58bdfebd2 100644
--- a/test/test_span.py
+++ b/test/test_span.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_sparse_vec.py b/test/test_sparse_vec.py
index 0cc1a76ed56..a683faefd57 100644
--- a/test/test_sparse_vec.py
+++ b/test/test_sparse_vec.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_srmpls.py b/test/test_srmpls.py
index 7e729658b43..cb47328a7c9 100644
--- a/test/test_srmpls.py
+++ b/test/test_srmpls.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import socket
diff --git a/test/test_stats_client.py b/test/test_stats_client.py
index 857e6e42832..7d0c91f24fd 100644
--- a/test/test_stats_client.py
+++ b/test/test_stats_client.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import time
diff --git a/test/test_string.py b/test/test_string.py
index 667bdf0ad4e..ed7b8cdf88d 100644
--- a/test/test_string.py
+++ b/test/test_string.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_syslog.py b/test/test_syslog.py
index 0acf7c221eb..3d20291e51d 100644
--- a/test/test_syslog.py
+++ b/test/test_syslog.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
from framework import VppTestCase, VppTestRunner
diff --git a/test/test_tcp.py b/test/test_tcp.py
index 393813c4dbb..8decac52b9d 100644
--- a/test/test_tcp.py
+++ b/test/test_tcp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_tls.py b/test/test_tls.py
index 03f297f9eac..6124dd250f0 100644
--- a/test/test_tls.py
+++ b/test/test_tls.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import os
diff --git a/test/test_udp.py b/test/test_udp.py
index 95dddff2c17..40c814774bf 100644
--- a/test/test_udp.py
+++ b/test/test_udp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
from framework import VppTestCase, VppTestRunner
diff --git a/test/test_util.py b/test/test_util.py
index e7d53668e2b..51cc739ca8d 100755
--- a/test/test_util.py
+++ b/test/test_util.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Test framework utility functions tests"""
import unittest
diff --git a/test/test_vapi.py b/test/test_vapi.py
index e010415fe01..5dbe56ac6e2 100644
--- a/test/test_vapi.py
+++ b/test/test_vapi.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" VAPI test """
import unittest
diff --git a/test/test_vcl.py b/test/test_vcl.py
index c25bad99923..804e7457555 100644
--- a/test/test_vcl.py
+++ b/test/test_vcl.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" Vpp VCL tests """
import unittest
diff --git a/test/test_vhost.py b/test/test_vhost.py
index 4e5a62d4535..b9cc1102d5d 100644
--- a/test/test_vhost.py
+++ b/test/test_vhost.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
diff --git a/test/test_vom.py b/test/test_vom.py
index a27d5310f52..2d735ee0148 100644
--- a/test/test_vom.py
+++ b/test/test_vom.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
""" VAPI test """
import unittest
diff --git a/test/test_vtr.py b/test/test_vtr.py
index a224909d8cb..239767a5d17 100644
--- a/test/test_vtr.py
+++ b/test/test_vtr.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import unittest
import random
diff --git a/test/test_vxlan.py b/test/test_vxlan.py
index c74efe7d062..b292aac4a12 100644
--- a/test/test_vxlan.py
+++ b/test/test_vxlan.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
from util import ip4n_range, ip4_range, reassemble4
diff --git a/test/test_vxlan6.py b/test/test_vxlan6.py
index 1e382e349c7..b1fda508394 100644
--- a/test/test_vxlan6.py
+++ b/test/test_vxlan6.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
import unittest
diff --git a/test/test_vxlan_gbp.py b/test/test_vxlan_gbp.py
index bd70eefa685..24769337b7c 100644
--- a/test/test_vxlan_gbp.py
+++ b/test/test_vxlan_gbp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
from util import ip4_range, reassemble4_ether
diff --git a/test/test_vxlan_gpe.py b/test/test_vxlan_gpe.py
index f13a5287172..5622a03b467 100644
--- a/test/test_vxlan_gpe.py
+++ b/test/test_vxlan_gpe.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
from util import ip4n_range, ip4_range
diff --git a/test/vpp_udp_encap.py b/test/vpp_udp_encap.py
index bdca9a8ca18..aad87bd5912 100644
--- a/test/vpp_udp_encap.py
+++ b/test/vpp_udp_encap.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
UDP encap objects
"""