This commit is contained in:
Victor Shyba 2019-05-13 14:27:49 -03:00
parent b91d2190f4
commit 6f79875135

View file

@ -111,4 +111,4 @@ class DHTIntegrationTest(AsyncioTestCase):
# now a search happens, which removes bad peers while contacting them # now a search happens, which removes bad peers while contacting them
self.assertTrue(node1.protocol.routing_table.get_peers()) self.assertTrue(node1.protocol.routing_table.get_peers())
await node1.peer_search(node2.protocol.node_id) await node1.peer_search(node2.protocol.node_id)
self.assertFalse(node1.protocol.routing_table.get_peers()) self.assertIn(peer, node1.protocol.ping_queue._pending_contacts)