Commit 8d5d4bba authored by Nolan's avatar Nolan

windows test try 13

parent 14d88c80
......@@ -20,9 +20,10 @@ def self_test():
# logging.error("get_mounts failed: '%s'" % mounts)
# return 10
#XXX Just use --privsub directly here?
print("Testing sudo")
sudo = sudo('net session')
#XXX Check return code?
sudo_out =
if not sudo_out.startswith('200 info '):
logging.error("sudo failed: '%s' '%s'" % (sudo_out,
......@@ -31,8 +32,8 @@ def self_test():
print("Testing get_ssids")
print("Testing complete")
logging.error("foo", exc_info=True)
except Exception as e:
logging.error("Exception: %s" % e, exc_info=True)
return 99
#XXX Get wifi password. Pypi has "ng" which claims to do so.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment