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

Bouke / django-two-factor-auth / 134 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2014 07:49AM UTC
Files 21
Run time –
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

02 Mar 2014 07:48AM UTC coverage: 99.064%. Remained the same
DJANGO_VERSION=1.4.10

push

travis-ci

Bouke
Set an error code for phone_number_validator.

phone_number_validator works well when validating from a model, but not
so well when validating from a form field. It uses the default code of
"invalid," which the Django fields will map to a pre-defined error
message, ignoring the custom one given by the validator.

By setting a custom error code, this mapping won't happen, and the
validator's message will instead be used.

Unit tests were added to test the validator on a custom form (where the
problem appears), and on PhoneSetupView (where it does not, but the test
will ensure it never breaks without noticing).

635 of 641 relevant lines covered (99.06%)

0.99 hits per line

Source Files on job 134.1 (DJANGO_VERSION=1.4.10)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 134
  • Travis Job 134.1
  • 3eb9560d on github
  • Prev Job for DJANGO_VERSION=1.4.10 on master (#133.1)
  • Next Job for DJANGO_VERSION=1.4.10 on master (#135.1)
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