diff options
author | Frederick Muriuki Muriithi | 2022-11-15 04:22:17 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-11-15 04:22:17 +0300 |
commit | b0d4aeb29c059c6dea85a7993149fa1e0697f702 (patch) | |
tree | 301bd3db1bb25cf622c7f83c6773e1ac5711ae7e /tests | |
parent | 9aee64c5bccae917ab0e65c882be8f442fc0f5ca (diff) | |
download | genenetwork3-b0d4aeb29c059c6dea85a7993149fa1e0697f702.tar.gz |
pylint: Fix linting errors.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/conftest.py | 3 |
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() |