|
Ran
|
Jobs
8
|
Files
24
|
Run time
42s
|
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).
5 of 5 new or added lines in 1 file covered. (100.0%)
536 of 1285 relevant lines covered (41.71%)
3.26 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 5 |
100.0 |
account/auth_backends.py |