mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
proper assert
This commit is contained in:
parent
3cc64649c0
commit
87e0ce801a
@ -606,7 +606,13 @@ class Listeners(unittest.TestCase):
|
||||
|
||||
self.assertEqual(i2p_provider.get_listener.mock_calls, [mock.call()])
|
||||
self.assertEqual(tor_provider.get_listener.mock_calls, [mock.call()])
|
||||
## self.assertEqual(t.listening_ports, [i2p_ep, tor_ep])
|
||||
self.assertEqual(
|
||||
t.listening_ports,
|
||||
[
|
||||
i2p_provider.get_listener(),
|
||||
tor_provider.get_listener(),
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
class ClientNotListening(unittest.TestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user