mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
remove test_require_data_loss_protect
This commit is contained in:
parent
34f22e6681
commit
12743bda93
1 changed files with 0 additions and 8 deletions
|
@ -175,14 +175,6 @@ class TestPeer(SequentialTestCase):
|
|||
self.asyncio_loop.call_soon_threadsafe(self._stop_loop.set_result, 1)
|
||||
self._loop_thread.join(timeout=1)
|
||||
|
||||
def test_require_data_loss_protect(self):
|
||||
mock_lnworker = MockLNWorker(keypair(), keypair(), self.alice_channel, tx_queue=None)
|
||||
mock_transport = NoFeaturesTransport('')
|
||||
p1 = Peer(mock_lnworker, b"\x00" * 33, mock_transport)
|
||||
mock_lnworker.peer = p1
|
||||
with self.assertRaises(LightningPeerConnectionClosed):
|
||||
run(asyncio.wait_for(p1._message_loop(), 1))
|
||||
|
||||
def prepare_peers(self):
|
||||
k1, k2 = keypair(), keypair()
|
||||
t1, t2 = transport_pair(self.alice_channel.name, self.bob_channel.name)
|
||||
|
|
Loading…
Add table
Reference in a new issue