specter-desktop/tests/test_liquid_rpc.py
Kim Neunert 1ae8b8b1a3
Docs: run tests and avoid elm-tests if you don't want them (#1326)
* fixes #1323

* fixing unintended deletion

* polishing
2021-08-17 17:27:21 +02:00

11 lines
387 B
Python

import pytest
from cryptoadvance.specter.liquid.rpc import LiquidRPC
@pytest.mark.elm
def test_LiquidRpc(elements_elreg):
rpc = elements_elreg.get_rpc()
default_rpc = rpc.wallet("")
assert default_rpc.getbalance() >= 0
# This test is failing although the documentation says it should work like this:
# assert default_rpc.getbalance(assetLabel=None)["bitcoin"] == 0