florimondmanca / djangorestframework-api-key

🔐 API key permissions for Django REST Framework
https://florimondmanca.github.io/djangorestframework-api-key/
MIT License
678 stars 104 forks source link

Reach 100% test coverage #211

Closed florimondmanca closed 2 years ago

florimondmanca commented 2 years ago

Closes #96

codecov-commenter commented 2 years ago

Codecov Report

Merging #211 (9abbc11) into master (ead1b3e) will increase coverage by 3.05%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master      #211      +/-   ##
===========================================
+ Coverage   96.94%   100.00%   +3.05%     
===========================================
  Files          22        23       +1     
  Lines         523       579      +56     
===========================================
+ Hits          507       579      +72     
+ Misses         16         0      -16     
Impacted Files Coverage Δ
src/rest_framework_api_key/__init__.py 100.00% <ø> (+20.00%) :arrow_up:
tests/test_compatibility.py 100.00% <ø> (+11.11%) :arrow_up:
tests/test_admin.py 100.00% <100.00%> (+2.43%) :arrow_up:
tests/test_migrations.py 100.00% <100.00%> (ø)
tests/test_permissions.py 100.00% <100.00%> (+0.99%) :arrow_up:
src/rest_framework_api_key/permissions.py 100.00% <0.00%> (+5.26%) :arrow_up:
src/rest_framework_api_key/admin.py 100.00% <0.00%> (+23.07%) :arrow_up:
...ework_api_key/migrations/0004_prefix_hashed_key.py 100.00% <0.00%> (+28.57%) :arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more