(self)
| 1530 | reverse("admin:app_list", args=("admin_views2",)) |
| 1531 | |
| 1532 | def test_resolve_admin_views(self): |
| 1533 | index_match = resolve("/test_admin/admin4/") |
| 1534 | list_match = resolve("/test_admin/admin4/auth/user/") |
| 1535 | self.assertIs(index_match.func.admin_site, customadmin.simple_site) |
| 1536 | self.assertIsInstance( |
| 1537 | list_match.func.model_admin, customadmin.CustomPwdTemplateUserAdmin |
| 1538 | ) |
| 1539 | |
| 1540 | def test_adminsite_display_site_url(self): |
| 1541 | """ |