diff options
Diffstat (limited to 'overlord')
-rw-r--r-- | overlord/test_func.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/overlord/test_func.py b/overlord/test_func.py index f3d0c61..0ee21db 100644 --- a/overlord/test_func.py +++ b/overlord/test_func.py @@ -5,6 +5,7 @@ import xmlrpclib import sys +import socket TEST_GETATTR = True TEST_PROCESS = False @@ -15,9 +16,9 @@ TEST_SMART = True if TEST_GETATTR: import func.overlord.client as func_client - #print func_client.Client("*").hardware.info() - #print func_client.Client("*").run("hardware","info",[]) - print func_client.Client("mdehaan.rdu.redhat.com",noglobs=True).test.add("1","2") + print func_client.Client("*").hardware.info() + print func_client.Client("*").run("hardware","info",[]) + print func_client.Client(socket.gethostname(),silent=True,noglobs=True).test.add("1","2") sys.exit(1) # get a connecton (to be replaced by client lib logic) |