summaryrefslogtreecommitdiff
path: root/900-implements.yarn
diff options
context:
space:
mode:
Diffstat (limited to '900-implements.yarn')
-rw-r--r--900-implements.yarn3
1 files changed, 2 insertions, 1 deletions
diff --git a/900-implements.yarn b/900-implements.yarn
index 2abb5ee..dc73049 100644
--- a/900-implements.yarn
+++ b/900-implements.yarn
@@ -26,9 +26,10 @@
h.assertEqual(expected, actual)
IMPLEMENTS THEN HTTP body matches "(.*)"
- import re, yarnhelper
+ import re, sys, yarnhelper
h = yarnhelper.YarnHelper()
body = h.get_variable('http_body')
+ sys.stdout.write('Body:\n{}'.format(body))
pattern = h.get_next_match()
m = re.search(pattern, body)
h.assertNotEqual(m, None)