#9748: r9550 broke modeladmin test
---------------------------+------------------------------------------------
Reporter: kmtracey | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
The buildbot (http://buildbot.djangoproject.com/waterfall) shows that the
trunk tests have been failing since build 142, which was r9550 (fix #8248
-- make help() work on models with ForeignKeyFields). Here's the failure:
{{{
======================================================================
FAIL: Doctest: regressiontests.modeladmin.models.__test__.API_TESTS
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbots/slave/parts/ubuntu-feisty-python2.5-sqlite/django-
trunk_ubuntu-feisty-python2.5-sqlite/build/django/test/_doctest.py", line
2180, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for
regressiontests.modeladmin.models.__test__.API_TESTS
File "/home/buildbots/slave/parts/ubuntu-feisty-python2.5-sqlite/django-
trunk_ubuntu-feisty-
python2.5-sqlite/build/tests/regressiontests/modeladmin/models.py", line
unknown line number, in API_TESTS
----------------------------------------------------------------------
File "/home/buildbots/slave/parts/ubuntu-feisty-python2.5-sqlite/django-
trunk_ubuntu-feisty-
python2.5-sqlite/build/tests/regressiontests/modeladmin/models.py", line
?, in regressiontests.modeladmin.models.__test__.API_TESTS
Failed example:
validate(ValidationTestModelAdmin, ValidationTestModel)
Expected:
Traceback (most recent call last):
...
ImproperlyConfigured: 'ValidationTestModelAdmin.list_display[0]',
'users' is a ManyToManyField which is not supported.
Got nothing
----------------------------------------------------------------------
Ran 547 tests in 906.302s
FAILED (failures=1)
Destroying test database...
program finished with exit code 1
}}}
It's not necessary to run the whole suite to get the failure, running just
modeladmin is sufficient.
--
Ticket URL: <http://code.djangoproject.com/ticket/9748>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---