#35265: Adjust unit tests on admin custom site titles
-----------------------------------------+------------------------
               Reporter:  Kasun Herath   |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  contrib.admin  |        Version:  5.0
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  1
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Commit
 
[https://github.com/django/django/commit/a962286b74f1e8c8cb19fb45a057800da8c2fb56
 commit] introduced attributes to {{{AdminSite}}} class that can control
 site header, site title and index title.
 [https://github.com/django/django/blob/main/django/contrib/admin/sites.py#L29
 AdminSite]

 But the corresponding unit test still checks for the default site titles
 not for the attributes on the site instance.
 
[https://github.com/django/django/blob/main/tests/admin_views/test_adminsite.py#L41]
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35265>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e042e2c02-12581560-a13f-4c1f-978d-e479165349a6-000000%40eu-central-1.amazonses.com.

Reply via email to