URI: 
       tAdd test for blockchain_headers_subscribe. - obelisk - Electrum server using libbitcoin as its backend
  HTML git clone https://git.parazyd.org/obelisk
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 5e0b35e36786438d6a6c6165aa7df887bd211a02
   DIR parent 6f2b9f4049c0c23f862fba9164e2bb9ad91e9ecb
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Fri, 16 Apr 2021 01:13:53 +0200
       
       Add test for blockchain_headers_subscribe.
       
       Diffstat:
         M tests/test_electrum_protocol.py     |      12 +++++++++++-
       
       1 file changed, 11 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/tests/test_electrum_protocol.py b/tests/test_electrum_protocol.py
       t@@ -96,6 +96,15 @@ async def test_blockchain_block_headers(protocol, writer):
            assert data["result"] == expect["result"]
        
        
       +async def test_blockchain_headers_subscribe(protocol, writer):
       +    method = "blockchain.headers.subscribe"
       +    params = []
       +    expect = get_expect(method, params)
       +    data = await protocol.blockchain_headers_subscribe(writer,
       +                                                       {"params": params})
       +    assert data["result"] == expect["result"]
       +
       +
        async def test_blockchain_scripthash_get_balance(protocol, writer):
            method = "blockchain.scripthash.get_balance"
            params = [
       t@@ -233,7 +242,8 @@ orchestration = {
            "blockchain_block_headers":
                test_blockchain_block_headers,
            # "blockchain_estimatefee": test_blockchain_estimatefee,
       -    # "blockchain_headers_subscribe": test_blockchain_headers_subscribe,
       +    "blockchain_headers_subscribe":
       +        test_blockchain_headers_subscribe,
            # "blockchain_relayfee": test_blockchain_relayfee,
            "blockchain_scripthash_get_balance":
                test_blockchain_scripthash_get_balance,