diff options
Diffstat (limited to 'client/test_func.py')
-rw-r--r-- | client/test_func.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/test_func.py b/client/test_func.py index 57cf5d7..866af36 100644 --- a/client/test_func.py +++ b/client/test_func.py @@ -5,6 +5,7 @@ import xmlrpclib +TEST_PROCESS = True TEST_VIRT = False TEST_SERVICES = True TEST_HARDWARE = True @@ -15,6 +16,9 @@ s = xmlrpclib.ServerProxy("http://127.0.0.1:51234") # here's the basic test... print s.test.add(1, 2) +if TEST_PROCESS: + print s.process.info() + # here's the service module testing if TEST_SERVICES: print s.service.restart("httpd") |