From e1ed26d636208e66138fe1a8783d005b62bfed8e Mon Sep 17 00:00:00 2001 From: Kacper0199 Date: Wed, 16 Aug 2023 13:37:28 +0200 Subject: [PATCH] iperf3 inheritance iperf2 changes --- moler/cmd/unix/iperf3.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/moler/cmd/unix/iperf3.py b/moler/cmd/unix/iperf3.py index 89608be41..f8987fc6c 100644 --- a/moler/cmd/unix/iperf3.py +++ b/moler/cmd/unix/iperf3.py @@ -26,7 +26,7 @@ from moler.exceptions import ParsingDone -class Iperf3(Iperf2, GenericUnixCommand, Publisher): +class Iperf3(Iperf2): """ Run iperf3 command, return its statistics and report. @@ -75,7 +75,8 @@ def __init__(self, connection, options, prompt=None, newline_chars=None, runner= super(Iperf3, self).__init__(connection=connection, prompt=prompt, newline_chars=newline_chars, - runner=runner,) + runner=runner, + options=options) self.port, self.options = self._validate_options(options) self.current_ret["CONNECTIONS"] = dict() self.current_ret["INFO"] = list()