From 5a1e58f0dca7fdf1af6ae6e810aeca9983abe38b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 1 Apr 2022 14:43:35 +1030 Subject: [PATCH] pytest: fix RUST=0 pytest. Signed-off-by: Rusty Russell --- tests/test_cln_rs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cln_rs.py b/tests/test_cln_rs.py index 2345d5f52..ee591d76b 100644 --- a/tests/test_cln_rs.py +++ b/tests/test_cln_rs.py @@ -3,7 +3,6 @@ from pathlib import Path from pyln.testing.utils import env, TEST_NETWORK, wait_for from ephemeral_port_reserve import reserve import grpc -from primitives_pb2 import AmountOrAny, Amount import pytest import subprocess @@ -75,6 +74,7 @@ def test_grpc_connect(node_factory): # These only exist if we have rust! from node_pb2_grpc import NodeStub # noqa: E402 import node_pb2 as nodepb # noqa: E402 + from primitives_pb2 import AmountOrAny, Amount # noqa: E402 grpc_port = reserve() bin_path = Path.cwd() / "target" / "debug" / "cln-grpc"