From: Ondrej Lichtner <olichtne(a)redhat.com>
The first argument of the super call should be the name of the current
child class, not the parent class. This patch fixes the issue.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
test_modules/Netperf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test_modules/Netperf.py b/test_modules/Netperf.py
index 8d375f3..959bcd9 100644
--- a/test_modules/Netperf.py
+++ b/test_modules/Netperf.py
@@ -19,7 +19,7 @@ class Netperf(TestGeneric):
"SCTP_STREAM", "SCTP_STREAM_MANY",
"SCTP_RR"]
def __init__(self, command):
- super(TestGeneric, self).__init__(command)
+ super(Netperf, self).__init__(command)
self._role = self.get_mopt("role")
--
2.6.2