From: Thierry Parmentelat Date: Tue, 23 Sep 2008 21:10:27 +0000 (+0000) Subject: oops - stress test fixed & forced in tag X-Git-Tag: tests-4.2-10~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8d39051f0b501ff593c82d6919687ee557e5c088;p=tests.git oops - stress test fixed & forced in tag --- diff --git a/system/plcsh-stress-test.py b/system/plcsh-stress-test.py index a3ba07e..cf4c6d2 100755 --- a/system/plcsh-stress-test.py +++ b/system/plcsh-stress-test.py @@ -954,7 +954,7 @@ class Test: if self.check: # Check node network - interface = self.api.GetInterfaces([interface_id])[0] + interface = self.api.GetNodeNetworks([interface_id])[0] for field in interface_fields: assert interface[field] == interface_fields[field] @@ -984,7 +984,7 @@ class Test: if self.check: # Check interface - interface = self.api.GetInterfaces([interface_id])[0] + interface = self.api.GetNodeNetworks([interface_id])[0] for field in interface_fields: assert interface[field] == interface_fields[field] @@ -1000,13 +1000,13 @@ class Test: self.api.DeleteNodeNetwork(interface_id) if self.check: - assert not self.api.GetInterfaces([interface_id]) + assert not self.api.GetNodeNetworks([interface_id]) if self.verbose: print "Deleted node network", interface_id if self.check: - assert not self.api.GetInterfaces(self.interface_ids) + assert not self.api.GetNodeNetworks(self.interface_ids) self.interface_ids = []