From 4f2c9bf8062f8efc814f20330121c5505a169c7d Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 30 Apr 2019 10:31:27 +0200 Subject: [PATCH] remove test_require_data_loss_protect --- electrum/tests/test_lnpeer.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/electrum/tests/test_lnpeer.py b/electrum/tests/test_lnpeer.py index 20d00bd1f..ea397ddca 100644 --- a/electrum/tests/test_lnpeer.py +++ b/electrum/tests/test_lnpeer.py @@ -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)