#19391 closed Bug (fixed)
Oracle test failure in 1.5.x and master
Reported by: | Anssi Kääriäinen | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.5-beta-1 |
Severity: | Release blocker | Keywords: | oracle |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The fix for #17911 (commit 29d59a879ea5b116cc31a2fd91be1f7562e487c2) doesn't work on Oracle. The reason is our old friend "lets treat as NULL".
The failure is this:
====================================================================== FAIL: test_change_form_renders_correct_null_choice_value (regressiontests.admin_views.tests.ReadonlyTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/akaariai/Programming/django/tests/regressiontests/admin_views/tests.py", line 3211, in test_change_form_renders_correct_null_choice_value self.assertContains(response, '<p>No opinion</p>', html=True) File "/home/akaariai/Programming/django/tests/django/test/testcases.py", line 632, in assertContains msg_prefix + "Couldn't find '%s' in response" % text) AssertionError: Couldn't find '<p> No opinion </p>' in response
I am marking this as a release blocker because it is expected that all tests pass on all supported databases on release. In any other sense this isn't severe at all.
Note:
See TracTickets
for help on using tickets.
In 632cf32b43609f7d674c81f81f01eb9e4a059f1f: