Changes between Initial Version and Version 1 of Ticket #20779, comment 5


Ignore:
Timestamp:
07/31/13 10:37:31 (20 months ago)
Author:
susan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20779, comment 5

    initial v1  
    1 Thanks Tim for pointing out the relevant test case. I've made a new test, called " testCustomAdminSiteAppIndexViewandTemplate", as you can see in the above PR. But the new test fails. Below is the stack trace of the error. I'll really appreciate any help in debugging; I'm stuck.
    2 
    3 FAIL: testCustomAdminSiteAppIndexViewandTemplate (admin_views.tests.CustomModelAdminTest)
    4 ----------------------------------------------------------------------
    5 Traceback (most recent call last):
    6   File "/../django/tests/admin_views/tests.py", line 815, in testCustomAdminSiteAppIndexViewandTemplate
    7     self.assertTemplateUsed(response, 'custom_admin/app_index.html')
    8   File "/../django/django/test/testcases.py", line 526, in assertTemplateUsed
    9     (template_name, ', '.join(template_names)))
    10 AssertionError: Template 'custom_admin/app_index.html' was not a template used to render the response. Actual template(s) used: custom_admin/index.html, admin/index.html, admin/base_site.html, admin/base.html
    11 
    12 ----------------------------------------------------------------------
    13 Ran 211 tests in 39.752s
    14 
    15 FAILED (failures=1, skipped=3)
     1Thanks Tim for pointing out the relevant test case.
Back to Top