summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-26 21:33:00 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-26 21:33:00 +0100
commit360a4db571a8e2b187f2fb8fd83bfffa09504cff (patch)
tree46755744873fb05cd38120bbfe55b69427d0c413 /yarns/900-implements.yarn
parent5eac22f430b144b45d09a6caba3bdd297b2cb481 (diff)
downloadick2-360a4db571a8e2b187f2fb8fd83bfffa09504cff.tar.gz
Add: debugging in case step fails
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn3
1 files changed, 3 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
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']))