#25055 closed Bug (fixed)
Test invalid_models_tests.test_models.FieldNamesTests.test_M2M_long_column_name fails for backends that support very long names
| Reported by: | Michael Manfre | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | 1.8 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The test doesn't use max_column_name_length to generate the m2m field name length. This causes the test to fail on backends that supports names longer than 71 characters (e.g. MSSQL).
Note:
See TracTickets
for help on using tickets.
In f9c3587: