Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#22499 closed Bug (fixed)

Oracle test failure: admin_views.tests.AdminViewBasicTest.test_proxy_model_content_type_is_used_for_log_entries

Reported by: Tim Graham Owned by: nobody
Component: contrib.admin Version: 1.7-beta-2
Severity: Release blocker Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

$ ./runtests.py --settings=test_oracle admin_views
Testing against Django installed in '/home/tim/code/django/django'
Creating test database for alias 'default'...
Creating test user...
Creating test database for alias 'other'...
Creating test user...
............................................................................................................E..........................................................................................................................................sss
======================================================================
ERROR: test_proxy_model_content_type_is_used_for_log_entries (admin_views.tests.AdminViewBasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tim/code/django/tests/admin_views/tests.py", line 690, in test_proxy_model_content_type_is_used_for_log_entries
    color2_change_url = reverse('admin:admin_views_color2_change', args=(color_id))
  File "/home/tim/code/django/django/core/urlresolvers.py", line 542, in reverse
    return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
  File "/home/tim/code/django/django/core/urlresolvers.py", line 459, in _reverse_with_prefix
    (lookup_view_s, args, kwargs, len(patterns), patterns))
NoReverseMatch: Reverse for 'admin_views_color2_change' with arguments '(u'2', u'2')' and keyword arguments '{}' not found. 1 pattern(s) tried: [u'test_admin/admin/admin_views/color2/(.+)/$']

Change History (2)

comment:1 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: newclosed

In d238c5891239784b61e597c625fe1b340a629da1:

Fixed #22499 -- Fixed a typo in an admin_views test that caused failure on Oracle.

comment:2 by Tim Graham <timograham@…>, 11 years ago

In bee118a7011bda1b26e885c7258a8d5e04436863:

[1.7.x] Fixed #22499 -- Fixed a typo in an admin_views test that caused failure on Oracle.

Backport of d238c58912 from master

Note: See TracTickets for help on using tickets.
Back to Top