#23380 closed Bug (fixed)
Transient failure of admin_filters.tests.ListFiltersTests.test_relatedfieldlistfilter_foreignkey
Reported by: | Simon Charette | Owned by: | Baylee Feore |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | afraid-to-commit |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
Change History (9)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Description: | modified (diff) |
---|
comment:3 by , 10 years ago
Failure
Lists differ: [(146, 'lisa'), (144, 'alfred'), (145, 'bob')] != [(144, 'alfred'), (145, 'bob'), (146, 'lisa')] First differing element 0: (146, 'lisa') (144, 'alfred') - [(146, 'lisa'), (144, 'alfred'), (145, 'bob')] + [(144, 'alfred'), (145, 'bob'), (146, 'lisa')]
Traceback
Traceback (most recent call last): File "/home/jenkins/workspace/django-pull-requests/database/postgis/python/python3.4/tests/admin_filters/tests.py", line 377, in test_relatedfieldlistfilter_foreignkey self.assertEqual(filterspec.lookup_choices, expected) AssertionError: Lists differ: [(146, 'lisa'), (144, 'alfred'), (145, 'bob')] != [(144, 'alfred'), (145, 'bob'), (146, 'lisa')] First differing element 0: (146, 'lisa') (144, 'alfred') - [(146, 'lisa'), (144, 'alfred'), (145, 'bob')] + [(144, 'alfred'), (145, 'bob'), (146, 'lisa')]
comment:4 by , 10 years ago
Component: | Uncategorized → contrib.admin |
---|
comment:5 by , 10 years ago
Keywords: | afraid-to-commit added |
---|
I've marked this ticket as especially suitable for people following the Don't be afraid to commit tutorial at the DjangoCon US 2014 sprints.
If you're tackling this ticket, please don't hesitate to ask me for guidance if you'd like any, either at the sprints themselves, or here or on the Django IRC channels, where I can be found as EvilDMP.
comment:6 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:7 by , 10 years ago
See pull request here: https://github.com/django/django/pull/3173
Unable to duplicate the Jenkins failure locally, but visual inspection says this should work for the list ordering issue.
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Also reported in #23285 (failure is there in case link to Jenkins goes stale before this is addressed).