From 360a4db571a8e2b187f2fb8fd83bfffa09504cff Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 26 Nov 2017 21:33:00 +0100 Subject: Add: debugging in case step fails --- yarns/900-implements.yarn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'yarns/900-implements.yarn') diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn index d08cbc9..4aa602f 100644 --- a/yarns/900-implements.yarn +++ b/yarns/900-implements.yarn @@ -119,6 +119,9 @@ along with this program. If not, see . assertEqual(expected, vars['status_code']) IMPLEMENTS THEN body matches (.+) + echo '-----------------------------------------------' + sed 's/^/---> /' ick_controller.log + echo '-----------------------------------------------' expected_text = get_next_match() expected = json.loads(expected_text) print('actual body', repr(vars['body'])) -- cgit v1.2.1