Skip to content

Commit

Permalink
Changed from fail() to exit().
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhudec committed Dec 3, 2014
1 parent 9530ca5 commit 2803db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional_tests/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def app(request):
_app.live(kill_port=True)
except Exception as e:
# Skip test if not started.
pytest.fail(e.message)
pytest.exit(e.message)

request.addfinalizer(lambda: _app.die())
return _app
Expand Down

0 comments on commit 2803db2

Please sign in to comment.