disable coverage for acceptance tests
This commit is contained in:
parent
8a14560a9b
commit
e514aa9a94
@ -18,6 +18,7 @@ def make_error_pages(app):
|
|||||||
return render_template("error.html", message="Log in Failed"), 401
|
return render_template("error.html", message="Log in Failed"), 401
|
||||||
|
|
||||||
@app.errorhandler(Exception)
|
@app.errorhandler(Exception)
|
||||||
|
# pylint: disable=unused-variable
|
||||||
def exception(e):
|
def exception(e):
|
||||||
app.logger.error(e.message)
|
app.logger.error(e.message)
|
||||||
return render_template("error.html", message="An Unexpected Error Occurred"), 500
|
return render_template("error.html", message="An Unexpected Error Occurred"), 500
|
||||||
|
@ -47,7 +47,7 @@ trap "kill $BSL_ID" SIGTERM SIGINT EXIT
|
|||||||
|
|
||||||
# run example selenium script that fetches the home page
|
# run example selenium script that fetches the home page
|
||||||
echo "running selenium tests"
|
echo "running selenium tests"
|
||||||
pipenv run pytest tests/acceptance -s
|
pipenv run pytest tests/acceptance -s --no-cov
|
||||||
|
|
||||||
# kill BrowserStackLocal
|
# kill BrowserStackLocal
|
||||||
kill $BSL_ID
|
kill $BSL_ID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user