﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
9748	r9550 broke modeladmin test	Karen Tracey	nobody	"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."		closed	Uncategorized	1.0		fixed			Unreviewed	0	0	0	0	0	0
