mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-20 23:46:35 -04:00
update
This commit is contained in:
parent
0818aa32fb
commit
157890a28c
@ -260,7 +260,7 @@ class TestTorConnectionOnline:
|
||||
|
||||
try:
|
||||
# Test if the Tor proxy is routing the traffic
|
||||
response = requests.get(test_url, proxies=tor_proxy, timeout=10)
|
||||
response = requests.get(test_url, proxies=tor_proxy, timeout=40)
|
||||
assert response.status_code == 200 and "Congratulations" in response.text, "Tor network connection is not correctly set up."
|
||||
except requests.RequestException as e:
|
||||
pytest.fail(f"Error connecting to Tor: {e}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user