diff --git a/tests/__init__.py b/tests/__init__.py index 8e28d82..eea7371 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -13,5 +13,5 @@ def client(): """Set up Flask client for use in tests.""" app.secret_key = os.urandom(12).hex() csrf.init_app(app) - client = app.test_client() - yield client + web_client = app.test_client() + yield web_client diff --git a/tests/test_app.py b/tests/test_app.py index 11ae32e..c5019e7 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -3,7 +3,7 @@ """Tests for app/app.py""" -from tests import client +from tests import client # pragma: no cover def test_index(client) -> None: