mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 16:44:20 +01:00
pytest: Added a simple breakpoint shorthand
I was typing this over and over again, adding this shorthand mainly to remember it :-) Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
cf15670c3f
commit
a4967d74f1
@@ -77,6 +77,8 @@ def setUpModule():
|
|||||||
def tearDownModule():
|
def tearDownModule():
|
||||||
tearDownBitcoind()
|
tearDownBitcoind()
|
||||||
|
|
||||||
|
def breakpoint():
|
||||||
|
import pdb; pdb.set_trace()
|
||||||
|
|
||||||
class NodeFactory(object):
|
class NodeFactory(object):
|
||||||
"""A factory to setup and start `lightningd` daemons.
|
"""A factory to setup and start `lightningd` daemons.
|
||||||
|
|||||||
Reference in New Issue
Block a user