summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2007-09-24 15:44:37 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2007-09-24 15:44:37 -0400
commit0067f7ff6189fdd46f49e45ed2099511eb4de004 (patch)
treec0e64ccb936e314200ce0ec3d2e02acc06b7fce2 /client
parent122714e5589843c5f283ad935b20345576d24ca6 (diff)
parentbcbdab56d02a09ecda8a70acd6e5990073dd6b3e (diff)
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
* 'master' of ssh://git.fedoraproject.org/git/hosted/func: add a basic AuditLogger class Package the subprocess module so that we can use it on EL4. Basic plugin for checking SMART status on drives. Add basic module for checking smart status of drives. Remove header from ps output
Diffstat (limited to 'client')
-rw-r--r--client/test_func.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/client/test_func.py b/client/test_func.py
index 6362b85..bcce45d 100644
--- a/client/test_func.py
+++ b/client/test_func.py
@@ -5,10 +5,11 @@
import xmlrpclib
-TEST_PROCESS = True
+TEST_PROCESS = False
TEST_VIRT = False
-TEST_SERVICES = True
-TEST_HARDWARE = True
+TEST_SERVICES = False
+TEST_HARDWARE = False
+TEST_SMART = True
# get a connecton (to be replaced by client lib logic)
s = xmlrpclib.ServerProxy("http://127.0.0.1:51234")
@@ -16,9 +17,12 @@ s = xmlrpclib.ServerProxy("http://127.0.0.1:51234")
# here's the basic test...
print s.test.add(1, 2)
+if TEST_SMART:
+ print s.smart.info()
+
if TEST_PROCESS:
print s.process.info()
- print s.process.pkill("thunderbird")
+ # print s.process.pkill("thunderbird")
# here's the service module testing
if TEST_SERVICES: