summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-06 13:40:49 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-06 13:40:49 +0100
commit21b2c6517b009b1534ebe18a128f4dfcce77e86e (patch)
tree4d2780f5dc17ca4b012e830d9ac03b6b07fb083c /yarns/900-implements.yarn
parent6c2e100abad1ae5e8dcb112e61040f0941da7d62 (diff)
downloadick2-21b2c6517b009b1534ebe18a128f4dfcce77e86e.tar.gz
Add: implement step to checking body against literal text
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn5
1 files changed, 5 insertions, 0 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index 8afc97a..e4e04e1 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -83,6 +83,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
actual = json.loads(vars['body'])
assertEqual(expected, actual)
+ IMPLEMENTS THEN body text is "(.*)"
+ expected = unescape(get_next_match())
+ actual = vars['body']
+ assertEqual(expected, actual)
+
IMPLEMENTS THEN version in body matches version from setup.py
body = vars['body']
obj = json.loads(body)