]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Fix constructors
authorPeenu Singh <peenu.singh@citrix.com>
Tue, 20 Oct 2015 06:17:16 +0000 (06:17 +0000)
committerPeenu Singh <peenu.singh@citrix.com>
Tue, 20 Oct 2015 06:17:16 +0000 (06:17 +0000)
exec/testcases/xenserver/tc/balloon.py

index 8b2612aa16e6a74b8616743485a760780bbe70cb..6eb9f5ceaeb5474d4a31bc5af95fe366ae47077f 100755 (executable)
@@ -19,7 +19,7 @@ class _BalloonPerfBase(xenrt.TestCase):
     HAP = "NPT"
 
     def __init__(self, tcid="_BalloonPerfBase"):
-        super(_BalloonPerfBase, self).__init__(self, tcid=tcid)
+        super(_BalloonPerfBase, self).__init__(tcid=tcid)
         self.distro = "win7sp1-x86"
         self.arch = "x86-32"
 
@@ -160,8 +160,8 @@ class _BalloonSmoketest(_BalloonPerfBase):
     HAP = None
     EARLY_PV_LINUX = "rhel5\d*,rhel6\d*,centos5\d*,centos6\d*,sl5\d,sl6\d,debian60"
 
-    def __init__(self, tcid="_BalloonSmoketest"):
-        super(_BalloonSmoketest, self).__init__(self, tcid)
+    def __init__(self):
+        super(_BalloonSmoketest, self).__init__("_BalloonSmoketest")
         self.balloonUpInitialAlloc = True
         self.lowMemoryConstraint = False
         self.allowedTargetMismatch = 0