diff options
| author | Tim Graham <timograham@gmail.com> | 2014-04-24 07:06:02 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-24 07:06:57 -0400 |
| commit | bee118a7011bda1b26e885c7258a8d5e04436863 (patch) | |
| tree | 6ef557364208f5f8294532239015fd3ec5e1319f /tests | |
| parent | 1a3cde5f9fc11ac34251bc44e9f1a82c4ffb4dc8 (diff) | |
[1.7.x] Fixed #22499 -- Fixed a typo in an admin_views test that caused failure on Oracle.
Backport of d238c58912 from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/admin_views/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 67568282da..929850b492 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -687,7 +687,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'}) @@ -695,7 +695,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] |
