diff options
author | bnewbold <bnewbold@robocracy.org> | 2012-07-11 17:48:49 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2012-07-11 17:48:49 -0400 |
commit | abaec3f515523310a8b743f13d60b905885a9f13 (patch) | |
tree | 3cf02adf6b889330e49cdd268dd5c1df7a4596af /test.py | |
parent | bb0ec725b508e339ff790eb63c0bf193c14a20c7 (diff) | |
download | exmachina-abaec3f515523310a8b743f13d60b905885a9f13.tar.gz exmachina-abaec3f515523310a8b743f13d60b905885a9f13.zip |
close methods, quiet mode, more tests
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,11 +30,15 @@ def main(): print c.call.initd_status("bluetooth") print "hostname: %s" % c.call.augeas_get("/files/etc/hostname/*") print "localhost: %s" % c.call.augeas_get("/files/etc/hosts/1/canonical") + sock.close() print "========= Testing user client library" client = ExMachinaClient() print client.augeas.match("/files/etc/*") print client.initd.restart("bluetooth") + print client.initd.status("bluetooth") + print client.initd.status("greentooth") + client.close() if __name__ == '__main__': main() |