Coverage report:
58%
hide covered
Files
Functions
Classes
coverage.py v7.13.1
, created at 2026-01-20 11:55 +0800
File
function
statements
missing
excluded
coverage
src / fastapi_authly / __about__.py
(no function)
1
1
0
0%
src / fastapi_authly / __init__.py
(no function)
6
0
0
100%
src / fastapi_authly / auth.py
_merge_config
4
4
0
0%
src / fastapi_authly / auth.py
AuthModule.__init__
9
9
0
0%
src / fastapi_authly / auth.py
AuthModule._setup_routes
7
7
0
0%
src / fastapi_authly / auth.py
AuthModule._ensure_user_repo
3
3
0
0%
src / fastapi_authly / auth.py
AuthModule._add_token_routes
3
3
0
0%
src / fastapi_authly / auth.py
AuthModule._add_token_routes.login_for_access_token
12
12
0
0%
src / fastapi_authly / auth.py
AuthModule._add_token_routes.verify_token
6
6
0
0%
src / fastapi_authly / auth.py
AuthModule._add_user_routes
3
3
0
0%
src / fastapi_authly / auth.py
AuthModule._add_user_routes.register_user
5
5
0
0%
src / fastapi_authly / auth.py
AuthModule._add_user_routes.get_current_user
10
10
0
0%
src / fastapi_authly / auth.py
AuthModule._add_password_routes
3
3
0
0%
src / fastapi_authly / auth.py
AuthModule._add_password_routes.request_password_reset
9
9
0
0%
src / fastapi_authly / auth.py
AuthModule._add_password_routes.reset_password
17
17
0
0%
src / fastapi_authly / auth.py
AuthModule._add_refresh_routes
1
1
0
0%
src / fastapi_authly / auth.py
AuthModule._add_refresh_routes.refresh_access_token
7
7
0
0%
src / fastapi_authly / auth.py
AuthModule.get_router
1
1
0
0%
src / fastapi_authly / auth.py
create_auth_router
2
2
0
0%
src / fastapi_authly / auth.py
(no function)
25
4
0
84%
src / fastapi_authly / contrib / __init__.py
(no function)
0
0
0
100%
src / fastapi_authly / contrib / tortoise_pg.py
TortoiseUserRepository.get_by_name
4
4
0
0%
src / fastapi_authly / contrib / tortoise_pg.py
TortoiseUserRepository.get_by_id
4
4
0
0%
src / fastapi_authly / contrib / tortoise_pg.py
TortoiseUserRepository.create_user
2
2
0
0%
src / fastapi_authly / contrib / tortoise_pg.py
TortoiseUserRepository.to_public
1
1
0
0%
src / fastapi_authly / contrib / tortoise_pg.py
(no function)
10
0
0
100%
src / fastapi_authly / core / __init__.py
(no function)
3
0
0
100%
src / fastapi_authly / core / config.py
(no function)
27
0
0
100%
src / fastapi_authly / core / security.py
BcryptPasswordHasher.__init__
1
0
0
100%
src / fastapi_authly / core / security.py
BcryptPasswordHasher.hash
1
0
0
100%
src / fastapi_authly / core / security.py
BcryptPasswordHasher.verify
1
0
0
100%
src / fastapi_authly / core / security.py
JWTTokenService.__init__
4
0
0
100%
src / fastapi_authly / core / security.py
JWTTokenService._create_token
3
0
0
100%
src / fastapi_authly / core / security.py
JWTTokenService.create_access_token
1
0
0
100%
src / fastapi_authly / core / security.py
JWTTokenService.create_refresh_token
1
0
0
100%
src / fastapi_authly / core / security.py
JWTTokenService.decode_token
4
0
0
100%
src / fastapi_authly / core / security.py
(no function)
15
0
0
100%
src / fastapi_authly / interfaces.py
PasswordHasher.hash
1
1
0
0%
src / fastapi_authly / interfaces.py
PasswordHasher.verify
1
1
0
0%
src / fastapi_authly / interfaces.py
TokenService.create_access_token
1
1
0
0%
src / fastapi_authly / interfaces.py
TokenService.create_refresh_token
1
1
0
0%
src / fastapi_authly / interfaces.py
TokenService.decode_token
1
1
0
0%
src / fastapi_authly / interfaces.py
Mailer.send_password_reset
1
1
0
0%
src / fastapi_authly / interfaces.py
Mailer.send_verification
1
1
0
0%
src / fastapi_authly / interfaces.py
UserRepository.get_by_name
1
1
0
0%
src / fastapi_authly / interfaces.py
UserRepository.get_by_id
1
1
0
0%
src / fastapi_authly / interfaces.py
UserRepository.create_user
1
1
0
0%
src / fastapi_authly / interfaces.py
UserRepository.to_public
1
1
0
0%
src / fastapi_authly / interfaces.py
(no function)
18
0
0
100%
src / fastapi_authly / models / __init__.py
(no function)
0
0
0
100%
src / fastapi_authly / models / user.py
User.__str__
1
1
0
0%
src / fastapi_authly / models / user.py
User.update_last_login
2
2
0
0%
src / fastapi_authly / models / user.py
(no function)
20
0
0
100%
src / fastapi_authly / schemas / __init__.py
(no function)
0
0
0
100%
src / fastapi_authly / schemas / user.py
(no function)
47
0
0
100%
Total
315
132
0
58%
No items found using the specified filter.