aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/extras/nat_test_slow_path_with_latency.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 /src/plugins/nat/extras/nat_test_slow_path_with_latency.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 'src/plugins/nat/extras/nat_test_slow_path_with_latency.py')
-rw-r--r--src/plugins/nat/extras/nat_test_slow_path_with_latency.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/extras/nat_test_slow_path_with_latency.py b/src/plugins/nat/extras/nat_test_slow_path_with_latency.py
index 066e491c906..6c7663434c5 100644
--- a/src/plugins/nat/extras/nat_test_slow_path_with_latency.py
+++ b/src/plugins/nat/extras/nat_test_slow_path_with_latency.py
@@ -1,7 +1,7 @@
from trex_stl_lib.api import *
-class STLS1(object):
+class STLS1:
def create_stream(self, port_id):
# base_pkt = Ether()/IP(dst="2.2.0.1")/UDP(dport=12)