Skip to content

Commit

Permalink
fixup! fixup! pytest: Test the rust bindings from cln-rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Jan 19, 2022
1 parent e95cf91 commit 4c972f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cln_rs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from fixtures import * # noqa: F401,F403
from pathlib import Path
from pyln.testing.utils import env
from pyln.testing.utils import env, TEST_NETWORK
import subprocess
import os
import pytest
Expand All @@ -18,6 +18,6 @@
def test_rpc_client(node_factory):
l1 = node_factory.get_node()
bin_path = Path.cwd() / "target" / "debug" / "examples" / "cln-rpc-getinfo"
rpc_path = Path(l1.daemon.lightning_dir) / NETWORK / "lightning-rpc"
rpc_path = Path(l1.daemon.lightning_dir) / TEST_NETWORK / "lightning-rpc"
out = subprocess.check_output([bin_path, rpc_path], stderr=subprocess.STDOUT)
assert(b'0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518' in out)

0 comments on commit 4c972f6

Please sign in to comment.