From: Claudio-Daniel Freire Date: Mon, 2 May 2011 08:54:39 +0000 (+0200) Subject: Adapt to new signature of TestbedController.set/get X-Git-Tag: nepi_v2~92 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3f89acc23de125bc3d4564660a04da90f323f68a;p=nepi.git Adapt to new signature of TestbedController.set/get --- diff --git a/test/testbeds/planetlab/execute.py b/test/testbeds/planetlab/execute.py index bfca9364..62363fb8 100755 --- a/test/testbeds/planetlab/execute.py +++ b/test/testbeds/planetlab/execute.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- import getpass -from nepi.util.constants import STATUS_FINISHED, TIME_NOW +from nepi.util.constants import STATUS_FINISHED from nepi.testbeds import planetlab import os import shutil @@ -68,8 +68,8 @@ class PlanetLabExecuteTestCase(unittest.TestCase): instance.do_preconfigure() # Manually replace netref - instance.set(TIME_NOW, 7, "command", - instance.get(TIME_NOW, 7, "command") + instance.set(7, "command", + instance.get(7, "command") .replace("{#[GUID-5].addr[0].[Address]#}", instance.get_address(5, 0, "Address") ) ) @@ -360,8 +360,8 @@ echo 'OKIDOKI' instance.do_preconfigure() # Manually replace netref - instance.set(TIME_NOW, 9, "command", - instance.get(TIME_NOW, 9, "command") + instance.set(9, "command", + instance.get(9, "command") .replace("{#[GUID-8].addr[0].[Address]#}", instance.get_address(8, 0, "Address") ) )