|
Ran
|
Files
24
|
Run time
11s
|
Badge
README BADGES
|
travis-ci
<a href="https://github.com/pinax/django-user-accounts/commit/<a class=hub.com/pinax/django-user-accounts/commit/cdce29532e4e856f753262ad1af537d4e5fb2ad9">cdce29532<a href="https://github.com/pinax/django-user-accounts/commit/cdce29532e4e856f753262ad1af537d4e5fb2ad9">">Constrained backend authenticate() methods to only accept username and pw. The reason for this change is that we want to raise a TypeError if the wrong types of credentials are input to authenticate(): https://github.com/django/django/blob/</a><a class="double-link" href="https://github.com/pinax/django-user-accounts/commit/<a class="double-link" href="https://github.com/pinax/django-user-accounts/commit/b06dfad88fb12a927c86a1eb23064201c9560fb1">b06dfad88</a>">b06dfad88</a><a href="https://github.com/pinax/django-user-accounts/commit/cdce29532e4e856f753262ad1af537d4e5fb2ad9">/django/contrib/auth/__init__.py#L64 Right now, one of these authenticate() methods could conceivably raise a KeyError instead if no "username" kwarg is supplied (I had this happen to me in my own code while installing a new authentication backend).
535 of 1285 relevant lines covered (41.63%)
0.42 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|