update test to match new output

This commit is contained in:
Brian Warner 2016-09-20 10:14:35 -07:00
parent e82e2c31e2
commit b9b731e3e2

View File

@ -275,7 +275,8 @@ class Privacy(unittest.TestCase):
n = FakeNode(BASECONFIG+"[node]\nreveal-IP-address = false\n")
n.check_privacy()
e = self.assertRaises(PrivacyError, n.init_connections)
self.assertEqual(str(e), "tcp = tcp, must be set to 'tor'")
self.assertEqual(str(e),
"tcp = tcp, must be set to 'tor' or 'disabled'")
def test_connections_tcp_disabled(self):
n = FakeNode(BASECONFIG+