Opened 17 years ago
Closed 17 years ago
#8059 closed (fixed)
m2m_through test hasn't a really predictable output
Description ¶
One of the tests for this new functionality:
http://code.djangoproject.com/browser/django/trunk/tests/modeltests/m2m_through/models.py#L329
runs successfully with all (some?) the builtin DB backends, but from what can be seen in the model definitions and the data handling made in the tests leading to that specific test, there isn't an unique 'correct' output order.
This is showing a a failure when running the test suite against another external DB backend.
The attached patch solves this adding another item to the membership.meta.ordering
tuple.
Change History (4)
by , 17 years ago
Attachment: | t8059.diff added |
---|
comment:1 by , 17 years ago
Has patch: | set |
---|
comment:2 by , 17 years ago
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Looks like this is also failing with the mysql backend: http://certenium.ingenium.cl:8080/hudson/job/django-trunk/SETTINGS_MODULE=settings_mysql/26/testReport/modeltests.m2m_through.models/__test__/API_TESTS/