Skip to content

Commit

Permalink
iperf3 inheritance iperf2 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacper0199 committed Aug 16, 2023
1 parent b6d40dd commit e1ed26d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions moler/cmd/unix/iperf3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit e1ed26d

Please sign in to comment.