diff options
author | Adrian Likins <alikins@redhat.com> | 2008-03-28 14:13:49 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2008-03-28 14:13:49 -0400 |
commit | 4054792be014a9b7373a5b909f5052ab271c2307 (patch) | |
tree | 3cd0cbecad706d16d3483b2c071f101c607580e8 /func/overlord/test_func.py | |
parent | 8bf00319db57ecfed8477f97e673248ff3d9e44a (diff) | |
download | third_party-func-4054792be014a9b7373a5b909f5052ab271c2307.tar.gz third_party-func-4054792be014a9b7373a5b909f5052ab271c2307.tar.xz third_party-func-4054792be014a9b7373a5b909f5052ab271c2307.zip |
Changing func/func/overlord/client.py:Client() to Overlord(). Client() still
works but will dive a deprecation warning.
First pass at this refactor. I think just about everything has been updated, but
some questions remain. Like if client.py needs a name change.
Diffstat (limited to 'func/overlord/test_func.py')
-rwxr-xr-x | func/overlord/test_func.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/func/overlord/test_func.py b/func/overlord/test_func.py index 2b3f041..4c08a56 100755 --- a/func/overlord/test_func.py +++ b/func/overlord/test_func.py @@ -15,11 +15,11 @@ TEST_SMART = True if TEST_GETATTR: import func.overlord.client as func_client - print func_client.Client("*").hardware.pci_info() - #print func_client.Client("*").test.add(1,2) - #print func_client.Client("*").hardware.info() - #print func_client.Client("*").run("hardware","info",[]) - #print func_client.Client(socket.gethostname(),noglobs=True).test.add("1","2") + print func_client.Overlord("*").hardware.pci_info() + #print func_client.Overlord("*").test.add(1,2) + #print func_client.Overlord("*").hardware.info() + #print func_client.Overlord("*").run("hardware","info",[]) + #print func_client.Overlord(socket.gethostname(),noglobs=True).test.add("1","2") sys.exit(1) # get a connecton (to be replaced by client lib logic) |