mozilla/browserid — pull request #1175 by shane-tomlinson (2012-02-22 16:43:47+00:00)
Title: Adding more tests to make sure when the user sets a password, the min/max password lengths are checked.

This is a test only change to add some new tests to ensure password lengths are within bounds when setting passwords as well as clean up generation of long strings.

* to testHelpers, add a generateString function which generates a string of the specified length.
* Replace the manual creation of strings for long passwords with generateString.
* To verify_email_address_test, adding checks for min and max length when setting the password.

issue #1173