mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-11 06:43:54 +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(i2p_provider.get_listener.mock_calls, [mock.call()])
|
||||||
self.assertEqual(tor_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):
|
class ClientNotListening(unittest.TestCase):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user