mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-05 09:10:53 +00:00
update test to match new output
This commit is contained in:
parent
e82e2c31e2
commit
b9b731e3e2
@ -275,7 +275,8 @@ class Privacy(unittest.TestCase):
|
|||||||
n = FakeNode(BASECONFIG+"[node]\nreveal-IP-address = false\n")
|
n = FakeNode(BASECONFIG+"[node]\nreveal-IP-address = false\n")
|
||||||
n.check_privacy()
|
n.check_privacy()
|
||||||
e = self.assertRaises(PrivacyError, n.init_connections)
|
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):
|
def test_connections_tcp_disabled(self):
|
||||||
n = FakeNode(BASECONFIG+
|
n = FakeNode(BASECONFIG+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user