commit 631b210c59fcbeadd3e75a1b1ac9e9f9a635d142 Author: Ravi Chandra Padmala neenaoffline@gmail.com Date: Sat Dec 22 14:33:26 2012 +0530
Fix test_get_circuits to work with string ids --- test/integ/control/controller.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py index bced64a..32cc3a2 100644 --- a/test/integ/control/controller.py +++ b/test/integ/control/controller.py @@ -765,5 +765,5 @@ class TestController(unittest.TestCase): with runner.get_tor_controller() as controller: new_circ = controller.new_circuit() circuits = controller.get_circuits() - self.assertTrue(new_circ in [int(circ.id) for circ in circuits]) + self.assertTrue(new_circ in [circ.id for circ in circuits])