mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
parent
4bb70cbcc6
commit
321e94fa41
185 changed files with 1216 additions and 1528 deletions
|
@ -108,7 +108,6 @@ class ArticleAdmin(admin.ModelAdmin):
|
|||
)
|
||||
|
||||
def changelist_view(self, request):
|
||||
"Test that extra_context works"
|
||||
return super(ArticleAdmin, self).changelist_view(
|
||||
request, extra_context={
|
||||
'extra_var': 'Hello!'
|
||||
|
@ -163,7 +162,6 @@ class CustomArticleAdmin(admin.ModelAdmin):
|
|||
delete_selected_confirmation_template = 'custom_admin/delete_selected_confirmation.html'
|
||||
|
||||
def changelist_view(self, request):
|
||||
"Test that extra_context works"
|
||||
return super(CustomArticleAdmin, self).changelist_view(
|
||||
request, extra_context={
|
||||
'extra_var': 'Hello!'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue