Adds regression test for #87

This commit is contained in:
Manuel Ebert 2013-08-14 14:00:42 -07:00
parent 598c0e97ce
commit 3549eff215
2 changed files with 13 additions and 0 deletions

View file

@ -102,6 +102,11 @@ def check_output_inline(context, text):
out = context.stdout_capture.getvalue()
assert text in out
@then('the output should not contain "{text}"')
def check_output_not_inline(context, text):
out = context.stdout_capture.getvalue()
assert text not in out
@then('we should see the message "{text}"')
def check_message(context, text):
out = context.messages.getvalue()