mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #25780 -- Removed redundant status code assertions from tests.
This commit is contained in:
committed by
Mariusz Felisiak
parent
982e860b73
commit
cee93c6ba1
@@ -135,9 +135,8 @@ class AdminActionsTest(TestCase):
|
||||
'index': '0',
|
||||
}
|
||||
response = self.client.post(reverse('admin:admin_views_unchangeableobject_changelist'), action_data)
|
||||
# No 500 caused by NoReverseMatch
|
||||
self.assertEqual(response.status_code, 200)
|
||||
# The page doesn't display a link to the nonexistent change page.
|
||||
# No 500 caused by NoReverseMatch. The page doesn't display a link to
|
||||
# the nonexistent change page.
|
||||
self.assertContains(response, '<li>Unchangeable object: %s</li>' % obj, 1, html=True)
|
||||
|
||||
def test_delete_queryset_hook(self):
|
||||
|
||||
Reference in New Issue
Block a user