From b0d4aeb29c059c6dea85a7993149fa1e0697f702 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 15 Nov 2022 04:22:17 +0300 Subject: pylint: Fix linting errors. --- tests/unit/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit') diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py index 9660c32..e5d941d 100644 --- a/tests/unit/conftest.py +++ b/tests/unit/conftest.py @@ -9,6 +9,7 @@ from gn3.app import create_app @pytest.fixture(scope="session") def test_app(): + """Fixture: setup the test app""" # Do some setup with TemporaryDirectory() as testdir: testdb = Path(testdir).joinpath( @@ -21,7 +22,7 @@ def test_app(): testdb.unlink(missing_ok=True) @pytest.fixture(scope="session") -def client(test_app): +def client(test_app): # pylint: disable=redefined-outer-name """Create a test client fixture for tests""" with test_app.app_context(): yield test_app.test_client() -- cgit v1.2.3