mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-14 05:52:48 +00:00
testing python script issues
This commit is contained in:
parent
6c8ae7a33f
commit
b24d48a042
2 changed files with 21 additions and 7 deletions
|
@ -40,7 +40,7 @@ class Tun2ProxyTest(unittest.TestCase):
|
|||
ip_noproxy = get_ip(ip_version)
|
||||
additional = ['-6'] if ip_version == 6 else []
|
||||
p = subprocess.Popen(
|
||||
[get_tool_path(), "--proxy", os.getenv(proxy_var), '--setup', '-v', 'trace', '--dns', dns, *additional])
|
||||
['sudo', get_tool_path(), "--proxy", os.getenv(proxy_var), '--setup', '-v', 'trace', '--dns', dns, *additional])
|
||||
try:
|
||||
time.sleep(1)
|
||||
ip_withproxy = get_ip(ip_version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue