Files
edx-platform/cms/djangoapps/contentstore/tests/tests.py
stv 7a0baa5578 Loosen login lockout text check
On our fork at Stanford, we override the template for the login lockout
to provide additional information. This means that the second sentence
here, `Try again later.` does not immediately follow the first in our
rendering. As a result, this test fails for us.

Instead, by checking for the most important part of the message
(the first sentence), we're able to ensure that:
- the user is still locked out
- the lockout message is shown on the template
- the test does not fail unnecessarily
2018-02-16 10:34:56 -08:00

16 KiB