diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-09-21 20:45:08 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-09-21 20:45:08 -0400 |
commit | c0f0adba8b5a8139e30769408c290f2d6e762189 (patch) | |
tree | 355ad5cdbb57670c8eac98f8a136a0a8bc99750e /client/test_func.py | |
parent | 834683463c0212f6c27bda4a959512a2448ed591 (diff) | |
download | third_party-func-c0f0adba8b5a8139e30769408c290f2d6e762189.tar.gz third_party-func-c0f0adba8b5a8139e30769408c290f2d6e762189.tar.xz third_party-func-c0f0adba8b5a8139e30769408c290f2d6e762189.zip |
Remove underscores from exported function names as they are now redundant.
Diffstat (limited to 'client/test_func.py')
-rw-r--r-- | client/test_func.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/test_func.py b/client/test_func.py index 4869636..38ae977 100644 --- a/client/test_func.py +++ b/client/test_func.py @@ -12,11 +12,11 @@ TEST_SERVICES = True s = xmlrpclib.ServerProxy("http://127.0.0.1:51234") # here's the basic test... -print s.test.test_add(1, 2) +print s.test.add(1, 2) # here's the service module testing if TEST_SERVICES: - print s.service.service_restart("httpd") + print s.service.restart("httpd") # this is so I can remember how the virt module works if TEST_VIRT: @@ -25,14 +25,14 @@ if TEST_VIRT: #s.virt_install("mdehaan.rdu.redhat.com","profileX") # wait ... - vms = s.virt.virt_list_vms() + vms = s.virt.list_vms() # example of stopping all stopped virtual machines print "list of virtual instances = %s" % vms for vm in vms: - status = s.virt.virt_status(vm) + status = s.virt.status(vm) print status if status == "shutdown": - s.virt.virt_start(vm) + s.virt.start(vm) # add more tests here |