#15548 closed (fixed)
ModelAdmin regression test fails on Postgresql
| Reported by: | Béres Botond | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Keywords: | postgresql blocker | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
======================================================================
FAIL: test_queryset_override (regressiontests.modeladmin.tests.ModelAdminTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/botondus/Envs/django/django/tests/regressiontests/modeladmin/tests.py", line 159, in test_queryset_override
'</select>' % (self.band.id, band2.id))
AssertionError: '<select name="main_band" id="id_main_band">\n<option value="" selected="selected">---------</option>\n<option value="9">The Beatles</option>\n<option value="8">The Doors</option>\n</select>' != '<select name="main_band" id="id_main_band">\n<option value="" selected="selected">---------</option>\n<option value="8">The Doors</option>\n<option value="9">The Beatles</option>\n</select>'
Note:
See TracTickets
for help on using tickets.
In [15743]: