• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jpadilla / pyjwt / 160 / 6
98%
master: 0%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 14 Mar 2017 01:14PM UTC
Files 11
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Mar 2017 01:11PM UTC coverage: 86.271%. Remained the same
TOXENV=py35-crypto

push

travis-ci

mark-adams
Refactor error handling in Algorithm.prepare_key() methods

Our error handling in Algorithm.prepare_key() was previously weird and
kind of inconsistent. This change makes a number of improvements:

* Refactors RSA and ECDSA prepare_key() methods to reduce nesting and
  make the code simpler to understand
* All calls to Algorithm.prepare_key() return InvalidKeyError (or a
  subclass) or a valid key instance.
* Created a new InvalidAsymmetricKeyError class that is used to provide
  a standard message when an invalid RSA or ECDSA key is used.

553 of 641 relevant lines covered (86.27%)

0.86 hits per line

Source Files on job 160.6 (TOXENV=py35-crypto)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 160
  • Travis Job 160.6
  • b6a86de2 on github
  • Prev Job for TOXENV=py35-crypto on fix-key-errors (#159.6)
  • Next Job for TOXENV=py35-crypto on fix-key-errors (#162.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc