]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Fixed irregular name
authorDan Lamping <daniel.lamping@citrix.com>
Thu, 12 Nov 2015 16:50:45 +0000 (16:50 +0000)
committerDan Lamping <daniel.lamping@citrix.com>
Thu, 12 Nov 2015 16:50:45 +0000 (16:50 +0000)
exec/testcases/xenserver/tc/ring0/ring0linux.py

index a078ff6c7e2b77719a5f459239a587c047b469c4..949c2f13cd0b5a975904300013bf34128087dc15 100644 (file)
@@ -15,8 +15,7 @@ class xst(object):
     def path(self, f):
         return "/sys/kernel/debug/xst/%s/%s" % (self.name, f)
 
-    @xenrt.irregularName
-    def set_params(self, params):
+    def setParams(self, params):
         for p in params:
             self.host.execdom0("echo %d > %s" % (p[1], self.path(p[0])))
 
@@ -70,5 +69,5 @@ class TCRing0LinuxAllocBalloon(TCRing0LinuxBase):
     def run(self, arglist):
         step("Run alloc_balloon")
         t = xst(self.host, "alloc_balloon")
-        t.set_params([("pages", 1024)])
+        t.setParams([("pages", 1024)])
         t.run()