From b9b731e3e2e5dfffdbf30fa8222d2025c84cd6d2 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 20 Sep 2016 10:14:35 -0700 Subject: [PATCH] update test to match new output --- src/allmydata/test/test_connections.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/allmydata/test/test_connections.py b/src/allmydata/test/test_connections.py index e1b6689b3..ee89bdb72 100644 --- a/src/allmydata/test/test_connections.py +++ b/src/allmydata/test/test_connections.py @@ -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+