From: Tony Mack Date: Fri, 18 Jan 2008 17:55:23 +0000 (+0000) Subject: change param name to 'root_dir' X-Git-Tag: 2008-02-11-last-vmware-support~141 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=cc38e00538c2000400692478b205716d93b3899e;p=tests.git change param name to 'root_dir' --- diff --git a/qaapi/qa/modules/plc/start.py b/qaapi/qa/modules/plc/start.py index 624c00e..51e1533 100644 --- a/qaapi/qa/modules/plc/start.py +++ b/qaapi/qa/modules/plc/start.py @@ -8,13 +8,13 @@ class start(Test): Starts the myplc service """ - def call(self, system_type, vserver_or_root_dir_name): + def call(self, system_type, root_dir): start_command = " /sbin/service plc start " full_command = "" if system_type in ['vserv', 'vserver']: - full_command += " vserver %(vserver_or_root_dir_name)s exec " + full_command += " vserver %(root_dir)s exec " elif system_type in ['chroot']: pass else: diff --git a/qaapi/qa/modules/plc/stop.py b/qaapi/qa/modules/plc/stop.py index 990cbe9..9b3b277 100644 --- a/qaapi/qa/modules/plc/stop.py +++ b/qaapi/qa/modules/plc/stop.py @@ -8,12 +8,12 @@ class stop(Test): Installs a myplc """ - def call(self, system_type, vserver_or_root_dir_name): + def call(self, system_type, root_dir): stop command = " /sbin/service plc stop " full_command = "" if system_type in ['vserv', 'vserver']: - full_command += " vserver %(vserver_or_root_dir_name)s exec " + full_command += " vserver %(root_dir)s exec " elif system_type in ['chroot']: pass else: