From 21b2c6517b009b1534ebe18a128f4dfcce77e86e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 6 Nov 2017 13:40:49 +0100 Subject: Add: implement step to checking body against literal text --- yarns/900-implements.yarn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'yarns/900-implements.yarn') 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 . 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) -- cgit v1.2.1