commando: delete no-datastore test, since it's now built-in.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-08-30 20:04:38 +09:30
parent d059290f8b
commit a7b7c56adc

View File

@@ -72,19 +72,6 @@ def test_commando(node_factory):
assert len(json.dumps(ret)) > 65535
def test_commando_no_datastore(node_factory):
l1, l2 = node_factory.line_graph(2, fundchannel=False,
opts={'plugin': plugin_path})
# These can happen before other init messages
l1.daemon.logsearch_start = 0
l1.daemon.wait_for_log("Initialized without rune support")
l2.daemon.logsearch_start = 0
l2.daemon.wait_for_log("Initialized without rune support")
with pytest.raises(RpcError, match="No datastore available"):
l2.rpc.commando_rune(l1.info['id'])
def test_commando_rune(node_factory):
l1, l2, l3 = node_factory.line_graph(3, fundchannel=False,
opts={'plugin': [plugin_path,