1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

Fixed #22499 -- Fixed a typo in an admin_views test that caused failure on Oracle.

This commit is contained in:
Tim Graham 2014-04-24 07:06:02 -04:00
parent 7c24027bad
commit d238c58912

View File

@ -686,7 +686,7 @@ class AdminViewBasicTest(AdminViewBasicTestCase):
# change # change
color_id = color2_addition_log.object_id color_id = color2_addition_log.object_id
color2_change_url = reverse('admin:admin_views_color2_change', args=(color_id)) color2_change_url = reverse('admin:admin_views_color2_change', args=(color_id,))
self.client.post(color2_change_url, {'value': 'blue'}) self.client.post(color2_change_url, {'value': 'blue'})
@ -694,7 +694,7 @@ class AdminViewBasicTest(AdminViewBasicTestCase):
self.assertEqual(color2_content_type, color2_change_log.content_type) self.assertEqual(color2_content_type, color2_change_log.content_type)
# delete # delete
color2_delete_url = reverse('admin:admin_views_color2_delete', args=(color_id)) color2_delete_url = reverse('admin:admin_views_color2_delete', args=(color_id,))
self.client.post(color2_delete_url) self.client.post(color2_delete_url)
color2_delete_log = LogEntry.objects.all()[0] color2_delete_log = LogEntry.objects.all()[0]