commit 12743bda93179e34f9da31f26c631780c324a091
parent 34f22e6681f9360f743dd1cea1675845c43b8b55
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 30 Apr 2019 10:31:27 +0200
remove test_require_data_loss_protect
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git 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)