Skip to content

refactor: Clean up authentication code; add tests for OIDC

Codecov / codecov/project succeeded Jul 31, 2024 in 0s

83.97% (+2.85%) compared to f366ae0

View this Pull Request on Codecov

83.97% (+2.85%) compared to f366ae0

Details

Codecov Report

Attention: Patch coverage is 86.66667% with 36 lines in your changes missing coverage. Please review.

Project coverage is 83.97%. Comparing base (f366ae0) to head (e773ef1).
Report is 2 commits behind head on main.

Files Patch % Lines
...apellacollab/core/authentication/api_key_cookie.py 64.70% 17 Missing and 1 partial ⚠️
backend/capellacollab/core/authentication/oidc.py 91.52% 5 Missing ⚠️
...ackend/capellacollab/core/authentication/routes.py 93.24% 3 Missing and 2 partials ⚠️
backend/capellacollab/users/routes.py 80.00% 1 Missing and 2 partials ⚠️
...nd/capellacollab/core/authentication/basic_auth.py 66.66% 2 Missing ⚠️
backend/capellacollab/sessions/routes.py 0.00% 1 Missing and 1 partial ⚠️
backend/capellacollab/users/exceptions.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1587      +/-   ##
==========================================
+ Coverage   81.12%   83.97%   +2.85%     
==========================================
  Files         191      184       -7     
  Lines        6215     6086     -129     
  Branches      692      673      -19     
==========================================
+ Hits         5042     5111      +69     
+ Misses       1027      827     -200     
- Partials      146      148       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.