commit be9cc749dfae1c3785fe07b08f9e0bff36b86116 Author: Damian Johnson atagar@torproject.org Date: Thu Sep 8 11:44:30 2016 -0700
Python3 testing failure for ephemeral services
Fixing the following test failure caught by toralf...
https://trac.torproject.org/projects/tor/ticket/20112 --- test/integ/control/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py index 440c9d5..149dc03 100644 --- a/test/integ/control/controller.py +++ b/test/integ/control/controller.py @@ -685,7 +685,7 @@ class TestController(unittest.TestCase): response = controller.create_ephemeral_hidden_service(4567, basic_auth = {'alice': 'nKwfvVPmTNr2k2pG0pzV4g', 'bob': None}) self.assertEqual([response.service_id], controller.list_ephemeral_hidden_services()) self.assertTrue(response.private_key is not None) - self.assertEqual(['bob'], response.client_auth.keys()) # newly created credentials were only created for bob + self.assertEqual(['bob'], list(response.client_auth.keys())) # newly created credentials were only created for bob
# drop the service
tor-commits@lists.torproject.org