[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] tests: CB.build_circuit now returns a tuple



commit 54c5db04318cb3c7c5e72e8a2767ed6905ff993a
Author: juga0 <juga@xxxxxxxxxx>
Date:   Thu Feb 21 16:43:08 2019 +0000

    tests: CB.build_circuit now returns a tuple
    
    Change tests added in #28897 with the changes introduced in #28736.
---
 tests/integration/lib/test_destination.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/integration/lib/test_destination.py b/tests/integration/lib/test_destination.py
index cc8c794..54cbacc 100644
--- a/tests/integration/lib/test_destination.py
+++ b/tests/integration/lib/test_destination.py
@@ -30,7 +30,7 @@ def test_connect_to_destination_over_circuit_success(persistent_launch_tor,
     helper = rl.exits_not_bad_allowing_port(destination.port)[0]
     circuit_path = [relay.fingerprint, helper.fingerprint]
     # build a circuit
-    circuit_id = cb.build_circuit(circuit_path)
+    circuit_id, _ = cb.build_circuit(circuit_path)
     # Perform "usability test"
     is_usable, response = connect_to_destination_over_circuit(
         destination, circuit_id, session, persistent_launch_tor, 1024)
@@ -54,7 +54,7 @@ def test_connect_to_destination_over_circuit_fail(persistent_launch_tor,
     helper = rl.exits_not_bad_allowing_port(bad_destination.port)[0]
     circuit_path = [relay.fingerprint, helper.fingerprint]
     # Build a circuit.
-    circuit_id = cb.build_circuit(circuit_path)
+    circuit_id, _ = cb.build_circuit(circuit_path)
     # Perform "usability test"
     is_usable, response = connect_to_destination_over_circuit(
         bad_destination, circuit_id, session, persistent_launch_tor, 1024)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits