From 291a44dc34bb58cd112cfedb144035c79d95881f Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 2 Oct 2017 13:56:33 +0530 Subject: [PATCH] Remove proxy_test (duplicates sudo_test) --- tests/proxy_test.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests/proxy_test.py diff --git a/tests/proxy_test.py b/tests/proxy_test.py deleted file mode 100644 index 4c05cb3a..00000000 --- a/tests/proxy_test.py +++ /dev/null @@ -1,18 +0,0 @@ -import logging -import os - -import mitogen.ssh -import mitogen.sudo -import mitogen.utils - -@mitogen.utils.run_with_router -def main(router): - mitogen.utils.log_to_file(io=False) - child1 = router.ssh(name='u', hostname='u') - child2 = router.sudo( - username='sudo_pw_test', - password='x', - name='sudo_pw_test', - via=child1, - ) - child2.call(os.system, 'id')