From d238c5891239784b61e597c625fe1b340a629da1 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 24 Apr 2014 07:06:02 -0400 Subject: [PATCH] Fixed #22499 -- Fixed a typo in an admin_views test that caused failure on Oracle. --- tests/admin_views/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index b0a8cda599..60220bb0f0 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -686,7 +686,7 @@ class AdminViewBasicTest(AdminViewBasicTestCase): # change 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'}) @@ -694,7 +694,7 @@ class AdminViewBasicTest(AdminViewBasicTestCase): self.assertEqual(color2_content_type, color2_change_log.content_type) # 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) color2_delete_log = LogEntry.objects.all()[0]