washort/zamboni — comment on commit cd0d1332d300eeda54fd19771b4daefd5f07957a
File: apps/users/views.py line 585
By kumar303:

My idea for a test is to set up a user and empty its password. Then hit this view and assert the form is shown. Then you need a couple more tests: 1) try to register an email that doesn't exist, assert it redirects to registration, 2) try to maybe-register a browserid that already exists with a password, assert it redirects to registration.