From a4967d74f1e33bcc0cab44dea0502195e1be8386 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Sat, 30 Sep 2017 15:23:03 +0200 Subject: [PATCH] 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 --- tests/test_lightningd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_lightningd.py b/tests/test_lightningd.py index c541cb5c0..b1f9a59b5 100644 --- a/tests/test_lightningd.py +++ b/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.