diff options
Diffstat (limited to '900-implements.yarn')
-rw-r--r-- | 900-implements.yarn | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/900-implements.yarn b/900-implements.yarn index 208a68f..19c3f9c 100644 --- a/900-implements.yarn +++ b/900-implements.yarn @@ -19,7 +19,11 @@ h.set_variable('http_body', body) IMPLEMENTS THEN HTTP status is (\d+) - pass + import yarnhelper + h = yarnhelper.YarnHelper() + expected = h.get_variable('http_status') + actual = int(h.get_next_match()) + h.assertEqual(expected, actual) IMPLEMENTS THEN HTTP body matches "(.*)" pass |