Skip to content

Commit a6b477c

Browse files
committed
Fix lint errors
1 parent 0fccbde commit a6b477c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/app/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
@pytest.fixture(scope="module")
18-
def disable_password_hashing(request: FixtureRequest) -> Generator[None, None, None]:
18+
def disable_password_hashing(request: FixtureRequest) -> Generator[bool, None, None]:
1919
"""
2020
Disable password hashing if no `enable_password_hashing` marker set for module.
2121
"""
@@ -32,7 +32,7 @@ def disable_password_hashing(request: FixtureRequest) -> Generator[None, None, N
3232

3333

3434
@pytest.fixture(scope="module")
35-
def db(disable_password_hashing) -> Generator[Session, None, None]: # noqa: ARG001
35+
def db(disable_password_hashing: bool) -> Generator[Session, None, None]: # noqa: ARG001
3636
with Session(engine) as session:
3737
session.execute( # Recreate user for every module, with\without pwd hashing
3838
delete(User)

0 commit comments

Comments
 (0)