[tor-commits] [stem/master] Adding get_socks_listeners() to Controller
atagar at torproject.org
atagar at torproject.org
Sun Dec 30 07:39:49 UTC 2012
commit bbb2d5a44a898e1a7202d876fe27cc87065ffd3f
Merge: bf28436 79fc8cd
Author: Damian Johnson <atagar at torproject.org>
Date: Sat Dec 29 23:34:13 2012 -0800
Adding get_socks_listeners() to Controller
Adding a get_socks_listeners() to the controller to provide the (address, port)
tuples where tor is listening for SOCKS connections. This also includes some
mocking changes to better support the tests.
Changes are from Sean...
https://trac.torproject.org/7783
https://trac.torproject.org/7784
stem/control.py | 44 ++++++++++++++++++
test/integ/control/controller.py | 11 +++++
test/mocking.py | 54 ++++++++++++++++++----
test/runner.py | 9 +++-
test/unit/control/controller.py | 93 +++++++++++++++++++++++++++++++++++++-
test/unit/tutorial.py | 6 +-
6 files changed, 201 insertions(+), 16 deletions(-)
More information about the tor-commits
mailing list