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

ixc / django-polymorphic-auth / 53
75%
develop: 72%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: develop
Ran 27 Mar 2017 06:12AM UTC
Jobs 3
Files 28
Run time 31s
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
53

push

travis-ci

jmurty
Prevent save of clashing users when username is case-insensitive #7

For user type models with a case-insensitive username surrogate field,
as indicated by the `IS_USERNAME_CASE_INSENSITIVE` class attribute,
perform a check before saving new users to ensure that the username
provided doesn't clash with an existing username differing only by
case.

In particular, this change will prevent creation of `EmailUser`
accounts with slight case variations of the email address.

PENDING: Do the same checks in the admin forms to return a nicer
error message to the user instead of a 500 error. This should be
a last-ditch effort to maintain data integrity.

7 of 7 new or added lines in 1 file covered. (100.0%)

293 of 418 relevant lines covered (70.1%)

2.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
polymorphic_auth/models.py
Jobs
ID Job ID Ran Files Coverage
1 53.1 (TOXENV=django18-py27) 27 Mar 2017 06:12AM UTC 0
70.1
Travis Job 53.1
2 53.2 (TOXENV=django18-py33) 27 Mar 2017 06:12AM UTC 0
70.1
Travis Job 53.2
3 53.3 (TOXENV=django18-py34) 27 Mar 2017 06:12AM UTC 0
70.1
Travis Job 53.3
Source Files on build 53
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #53
  • 3dfb99f1 on github
  • Prev Build on 7-make-email-user-email-case-insensitive (#52)
  • Next Build on 7-make-email-user-email-case-insensitive (#54)
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