django.contrib.auth.tests.PasswordResetTest.test_email_not_found fails when using auth models but using a different view for password reset
|Reported by:||santiago_aguiar||Owned by:||devin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I changed the way password_reset is handled by mapping /password_reset/ to may own view un urlconf and the test started failing since it expects that URL to behave like the stock auth app (and even return a specific error message).
I think the issue goes deep, since external included apps test cases should not perform tests as HTTP clientes (since they don't know how the application that is using the external app actually handles does URLs) or skip them when running as included from another app.
I add the issue under unit test system since even if this particular case is in the contrib.auth app, the problem will surface again if the same testing method is used.
Change History (3)
comment:1 Changed 7 years ago by santiago_aguiar
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset