aboutsummaryrefslogtreecommitdiffstats
path: root/test/template_ipsec.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-12-04 14:57:51 -0500
committerOle Tr�an <otroan@employees.org>2020-12-07 08:17:10 +0000
commite061dad55e75ea5d5db20ceda28f557971dd9483 (patch)
tree178f317491a8c8b6f525a0d865cf45625fa36274 /test/template_ipsec.py
parentd6f221789d58374db4ea5368dde5e83f72e842c0 (diff)
tests: py2 cleanup - remove subclassing of object
Type: refactor Change-Id: I9096e3b473110350e1e8e5936e3c4c164f8969a7 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/template_ipsec.py')
-rw-r--r--test/template_ipsec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/template_ipsec.py b/test/template_ipsec.py
index 7bd0b9ec81f..129f220c314 100644
--- a/test/template_ipsec.py
+++ b/test/template_ipsec.py
@@ -15,7 +15,7 @@ from util import ppp, reassemble4, fragment_rfc791, fragment_rfc8200
from vpp_papi import VppEnum
-class IPsecIPv4Params(object):
+class IPsecIPv4Params:
addr_type = socket.AF_INET
addr_any = "0.0.0.0"
@@ -54,7 +54,7 @@ class IPsecIPv4Params(object):
self.dscp = 0
-class IPsecIPv6Params(object):
+class IPsecIPv6Params:
addr_type = socket.AF_INET6
addr_any = "0::0"