From e0c5b36dcc92d97c65f14290bb78b2327ff731a5 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sat, 19 Mar 2011 15:27:48 +0000 Subject: added Client::setNode() --- h-client/test.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'h-client/test.py') diff --git a/h-client/test.py b/h-client/test.py index ca13ee7..07ccca0 100644 --- a/h-client/test.py +++ b/h-client/test.py @@ -18,7 +18,8 @@ from hlibrary import * -client = Client('http://h-source/') +client = Client() +client.setNode('http://h-source/') client.createDevices() #client.request.perform('download/all/it') #print client.request.url @@ -40,10 +41,10 @@ client.sync() #print dev[0].userDistribution() -client.login('','') -#print client.isLogged() -client.submit() -client.logout() +#client.login('','') +##print client.isLogged() +#client.submit() +#client.logout() #client.devices['p_14e4:4311'][0].setPost() #print client.devices['p_14e4:4311'][0].getPost() \ No newline at end of file -- cgit v1.2.3