Skip to content

Commit c14ff6c

Browse files
enaplesScuttoZ
authored andcommitted
tests: fixing test with real plugins
1 parent a83bc13 commit c14ff6c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_reckless.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,8 @@ def test_reckless_install_from_source_py(node_factory):
569569

570570
network_dir = (Path(node.lightning_dir) / NETWORK).resolve()
571571
backup_dest = str(network_dir / 'backup.bkp')
572-
venv_python = str(installed_path / '.venv' / 'bin' / 'python')
573572
backup_cli = str(installed_path / 'source' / 'backup' / 'backup-cli')
574-
subprocess.run([venv_python, backup_cli, 'init',
573+
subprocess.run([backup_cli, 'init',
575574
'--lightning-dir', str(network_dir),
576575
f'file://{backup_dest}'],
577576
check=True, env=my_env, timeout=30)
@@ -704,9 +703,8 @@ def test_reckless_install_from_commit_py(node_factory):
704703

705704
network_dir = (Path(node.lightning_dir) / NETWORK).resolve()
706705
backup_dest = str(network_dir / 'backup.bkp')
707-
venv_python = str(installed_path / '.venv' / 'bin' / 'python')
708706
backup_cli = str(installed_path / 'source' / 'backup' / 'backup-cli')
709-
subprocess.run([venv_python, backup_cli, 'init',
707+
subprocess.run([backup_cli, 'init',
710708
'--lightning-dir', str(network_dir),
711709
f'file://{backup_dest}'],
712710
check=True, env=my_env, timeout=30)

0 commit comments

Comments
 (0)