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:
Christian Decker
2017-09-30 15:23:03 +02:00
committed by Rusty Russell
parent cf15670c3f
commit a4967d74f1

View File

@@ -77,6 +77,8 @@ def setUpModule():
def tearDownModule():
tearDownBitcoind()
def breakpoint():
import pdb; pdb.set_trace()
class NodeFactory(object):
"""A factory to setup and start `lightningd` daemons.