aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/conftest.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-11-15 04:22:17 +0300
committerFrederick Muriuki Muriithi2022-11-15 04:22:17 +0300
commitb0d4aeb29c059c6dea85a7993149fa1e0697f702 (patch)
tree301bd3db1bb25cf622c7f83c6773e1ac5711ae7e /tests/unit/conftest.py
parent9aee64c5bccae917ab0e65c882be8f442fc0f5ca (diff)
downloadgenenetwork3-b0d4aeb29c059c6dea85a7993149fa1e0697f702.tar.gz
pylint: Fix linting errors.
Diffstat (limited to 'tests/unit/conftest.py')
-rw-r--r--tests/unit/conftest.py3
1 files changed, 2 insertions, 1 deletions
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()