mozilla-services / autopush

Python Web Push Server used by Mozilla
https://autopush.readthedocs.io/
Mozilla Public License 2.0
217 stars 34 forks source link

refactor: clear up deprecation warnings #1342

Closed pjenvey closed 5 years ago

pjenvey commented 5 years ago

exc.message -> str(exc)

attr's convert kw arg -> converter

Closes #1341

codecov-io commented 5 years ago

Codecov Report

Merging #1342 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1342   +/-   ##
=======================================
  Coverage   99.79%   99.79%           
=======================================
  Files          64       64           
  Lines       10422    10422           
=======================================
  Hits        10401    10401           
  Misses         21       21
Impacted Files Coverage Δ
autopush/tests/test_router.py 100% <100%> (ø) :arrow_up:
autopush/tests/test_web_validation.py 100% <100%> (ø) :arrow_up:
autopush/tests/test_cryptokey.py 100% <100%> (ø) :arrow_up:
autopush/tests/test_gcmclient.py 100% <100%> (ø) :arrow_up:
autopush/tests/test_db.py 100% <100%> (ø) :arrow_up:
autopush/web/health.py 100% <100%> (ø) :arrow_up:
autopush/web/base.py 100% <100%> (ø) :arrow_up:
autopush/config.py 98.04% <100%> (ø) :arrow_up:
autopush/web/registration.py 100% <100%> (ø) :arrow_up:
autopush/tests/test_fcmclient.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3f9c5d0...c1a3079. Read the comment docs.