From e514aa9a94f8ed2e32f6d62743181bca04fd9cf6 Mon Sep 17 00:00:00 2001 From: dandds Date: Mon, 15 Oct 2018 10:19:48 -0400 Subject: [PATCH] disable coverage for acceptance tests --- atst/routes/errors.py | 1 + script/selenium_test | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/atst/routes/errors.py b/atst/routes/errors.py index f2fee662..5b6a2ff2 100644 --- a/atst/routes/errors.py +++ b/atst/routes/errors.py @@ -18,6 +18,7 @@ def make_error_pages(app): return render_template("error.html", message="Log in Failed"), 401 @app.errorhandler(Exception) + # pylint: disable=unused-variable def exception(e): app.logger.error(e.message) return render_template("error.html", message="An Unexpected Error Occurred"), 500 diff --git a/script/selenium_test b/script/selenium_test index 1d583397..b233c069 100755 --- a/script/selenium_test +++ b/script/selenium_test @@ -47,7 +47,7 @@ trap "kill $BSL_ID" SIGTERM SIGINT EXIT # run example selenium script that fetches the home page echo "running selenium tests" -pipenv run pytest tests/acceptance -s +pipenv run pytest tests/acceptance -s --no-cov # kill BrowserStackLocal kill $BSL_ID