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

hypothesis / h / 8540
68%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 12 Oct 2015 04:42PM UTC
Jobs 1
Files 88
Run time 2s
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
8540

push

travis-ci

nickstenning
Validate reset codes with custom type

Using the schema mapping validator to read the reset code and look up
the user in the database has one major disadvantage: the mapping
validator is not called until each individual field in the form
validates. This means that if you submit an incorrect code at the same
time as an incorrect password, you won't be informed that the code is
incorrect.

This commit addresses this problem by creating a custom schema type,
`ResetCode`, which bears the responsibility of transforming a reset code
into a user and back again for the form.

2488 of 3667 relevant lines covered (67.85%)

0.68 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
21
100.0
h/accounts/views.py
Jobs
ID Job ID Ran Files Coverage
1 8540.1 12 Oct 2015 04:42PM UTC 0
67.85
Travis Job 8540.1
Source Files on build 8540
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8540
  • c4979427 on github
  • Prev Build on replace-accounts-forms (#8538)
  • Next Build on replace-accounts-forms (#8546)
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