From: Thierry Parmentelat Date: Mon, 18 May 2009 16:33:08 +0000 (+0000) Subject: fix X-Git-Tag: tests-4.3-2~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=770f2169003863effad03698836c943d701a065e;p=tests.git fix --- diff --git a/system/TestPool.py b/system/TestPool.py index 85a7397..a140f07 100644 --- a/system/TestPool.py +++ b/system/TestPool.py @@ -68,7 +68,7 @@ class TestPoolIP (TestPool): TestPool.__init__(self,pool,options,"free IP address") def free_hostname (self, hostname): - return not TestPoolIP.check_ping(hostname) + return not self.check_ping(hostname) # OS-dependent ping option (support for macos, for convenience) ping_timeout_option = None @@ -95,7 +95,7 @@ class TestPoolQemu (TestPool): TestPool.__init__(self,pool,options,"free qemu box") def free_hostname (self, hostname): - return not TestPoolQemu.busy_qemu(hostname) + return not self.busy_qemu(hostname) # is there a qemu runing on that box already ? def busy_qemu (self, hostname):