diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/test_func.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/test_func.py b/client/test_func.py index 38ae977..57cf5d7 100644 --- a/client/test_func.py +++ b/client/test_func.py @@ -5,8 +5,9 @@ import xmlrpclib -TEST_VIRT = True +TEST_VIRT = False TEST_SERVICES = True +TEST_HARDWARE = True # get a connecton (to be replaced by client lib logic) s = xmlrpclib.ServerProxy("http://127.0.0.1:51234") @@ -18,6 +19,9 @@ print s.test.add(1, 2) if TEST_SERVICES: print s.service.restart("httpd") +if TEST_HARDWARE: + print s.hardware.info() + # this is so I can remember how the virt module works if TEST_VIRT: |