From abaec3f515523310a8b743f13d60b905885a9f13 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 11 Jul 2012 17:48:49 -0400 Subject: close methods, quiet mode, more tests --- test.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test.py') diff --git a/test.py b/test.py index d780906..0ef2fa8 100755 --- a/test.py +++ b/test.py @@ -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() -- cgit v1.2.3