Skip to content

Commit ec9175b

Browse files
kwsantiagodaywalker90
authored andcommitted
pyln: test that an unstarted bitcoind tears down cleanly
1 parent 1331ff8 commit ec9175b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from pyln.testing.fixtures import * # noqa: F401 F403
2+
import pytest
3+
4+
5+
@pytest.mark.parametrize('bitcoind', [False], indirect=True)
6+
def test_unstarted_bitcoind(bitcoind):
7+
"""Taking the fixture unstarted must still tear down cleanly."""
8+
assert bitcoind.proc is None
9+
bitcoind.kill()

0 commit comments

Comments
 (0)