[tor-commits] [sbws/master] chg: tests: Remove test that fails sometimes in Travis

juga at torproject.org juga at torproject.org
Thu Mar 21 18:30:42 UTC 2019


commit 24d61b651073991fecf196d06d511f5e6572ac66
Author: juga0 <juga at riseup.net>
Date:   Mon Mar 11 16:34:28 2019 +0000

    chg: tests: Remove test that fails sometimes in Travis
    
    because the http server is not concurrent/asynchronous and there
    are as many processes as tox environments querying the http server.
---
 tests/integration/util/test_requests.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/integration/util/test_requests.py b/tests/integration/util/test_requests.py
index ecb22ad..9c55640 100644
--- a/tests/integration/util/test_requests.py
+++ b/tests/integration/util/test_requests.py
@@ -21,9 +21,3 @@ def test_make_session(conf, persistent_launch_tor, dests):
     except requests.exceptions.ConnectTimeout:
         pass
     assert response is None
-
-    # Disable socks proxies to test a session request not over Tor
-    # without timeout.
-    session.proxies = {}
-    response = session.get(dests.next().url, verify=False)
-    print(response.request.__dict__)





More information about the tor-commits mailing list