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

pinax / django-user-accounts / 171
73%

Build:
DEFAULT BRANCH: master
Ran 31 Jan 2015 05:09AM UTC
Jobs 8
Files 24
Run time 42s
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

pending completion
171

Pull #168

travis-ci

DasAllFolks
<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">&quot;&gt;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 &quot;username&quot; kwarg is supplied (I had this happen to me in
my own code while installing a new authentication backend).
Pull Request #168: Constrained backend authenticate() methods to only accept username and password

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

New Missed Lines in Diff

Lines Coverage ∆ File
5
100.0
account/auth_backends.py
Jobs
ID Job ID Ran Files Coverage
1 171.1 (DJANGO=1.4 DJANGO_VERSION_MIN=1.4 DJANGO_VERSION_MAX=1.5) 31 Jan 2015 05:09AM UTC 0
41.63
Travis Job 171.1
2 171.2 (DJANGO=1.6 DJANGO_VERSION_MIN=1.6 DJANGO_VERSION_MAX=1.7) 31 Jan 2015 05:09AM UTC 0
41.4
Travis Job 171.2
3 171.3 (DJANGO=1.4 DJANGO_VERSION_MIN=1.4 DJANGO_VERSION_MAX=1.5) 31 Jan 2015 05:10AM UTC 0
41.48
Travis Job 171.3
4 171.4 (DJANGO=1.6 DJANGO_VERSION_MIN=1.6 DJANGO_VERSION_MAX=1.7) 31 Jan 2015 05:09AM UTC 0
41.25
Travis Job 171.4
5 171.5 (DJANGO=1.7 DJANGO_VERSION_MIN=1.7 DJANGO_VERSION_MAX=1.8) 31 Jan 2015 05:09AM UTC 0
39.92
Travis Job 171.5
6 171.6 (DJANGO=1.6 DJANGO_VERSION_MIN=1.6 DJANGO_VERSION_MAX=1.7) 31 Jan 2015 05:09AM UTC 0
40.93
Travis Job 171.6
7 171.7 (DJANGO=1.7 DJANGO_VERSION_MIN=1.7 DJANGO_VERSION_MAX=1.8) 31 Jan 2015 05:09AM UTC 0
39.61
Travis Job 171.7
8 171.8 (DJANGO=1.7 DJANGO_VERSION_MIN=1.7 DJANGO_VERSION_MAX=1.8) 31 Jan 2015 05:09AM UTC 0
39.61
Travis Job 171.8
Source Files on build 171
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #171
  • Pull Request #168
  • PR Base - master (#159)
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