TestCase don't respect LANGUAGE_CODE?
|Reported by:||Owned by:||nobody|
|Severity:||Keywords:||test settings LANGUAGE_CODE|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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)
comment:1 Changed 9 years ago by
|Component:||Uncategorized → Unit test system|
|Owner:||changed from Jacob to Adrian Holovaty|