commit d96dcec00996ae7ae935c006d13f397b690a8db7 Author: David Fifield david@bamsoftware.com Date: Thu Oct 17 01:26:25 2013 -0700
Test that client-transport and relay-transport are present. --- facilitator/facilitator-test | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/facilitator/facilitator-test b/facilitator/facilitator-test index ffeb87e..6b45f6f 100755 --- a/facilitator/facilitator-test +++ b/facilitator/facilitator-test @@ -285,7 +285,9 @@ class FacilitatorProcTest(unittest.TestCase): fac.put_reg(FACILITATOR_ADDR, self.IPV4_CLIENT_ADDR, CLIENT_TP) reg = fac.get_reg(FACILITATOR_ADDR, self.IPV4_PROXY_ADDR, PROXY_TPS) self.assertEqual(reg["client"], fac.format_addr(self.IPV4_CLIENT_ADDR)) + self.assertEqual(reg["client-transport"], CLIENT_TP) self.assertEqual(reg["relay"], fac.format_addr(self.IPV4_RELAY_ADDR)) + self.assertEqual(reg["relay-transport"], RELAY_TP) self.assertGreater(int(reg["check-back-in"]), 0)
# def test_same_proxy(self):
tor-commits@lists.torproject.org