Browse Source

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>
ppa-0.6.1
Christian Decker 7 years ago
committed by Rusty Russell
parent
commit
a4967d74f1
  1. 2
      tests/test_lightningd.py

2
tests/test_lightningd.py

@ -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.

Loading…
Cancel
Save