diff --git a/.gitignore b/.gitignore index 03ffc7d3..deb6c96d 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,5 @@ lib64 # Installer logs pip-log.txt .DS_Store +.travis-solo diff --git a/features/steps/core.py b/features/steps/core.py index d805e12d..da39387f 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -70,12 +70,11 @@ def run(context, command): @then('we should get an error') def has_error(context): - assert context.exit_status is not 0 + assert context.exit_status != 0, context.exit_status @then('we should get no error') def no_error(context): - assert context.exit_status is 0 - assert context.failed is False + assert context.exit_status is 0, context.exit_status @then('the output should be parsable as json') def check_output_json(context):