TestCase don't respect LANGUAGE_CODE?
I just wrote some tests and found, that testcase don't respect LANGUAGE_CODE="cs" from settings.py file.
In my test I simulate POST to form (newform) with some empty values for required inputs, and I get error message like: "* This field is required." close to particular input.
But when I run my application, and try the same situation with browser, I get message "* Toto pole je povinné." (which is correct).
Change History
(7)
Component: |
Uncategorized → Unit test system
|
Owner: |
changed from Jacob to Adrian Holovaty
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to msgre
|
Status: |
new → assigned
|
Owner: |
msgre removed
|
Status: |
assigned → new
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Sorry folks, I couldn't solve it.