diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 2e5dcb4f37..c054730c2b 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -1804,8 +1804,8 @@ class AdminViewDeletedObjectsTest(TestCase): """ plot = Plot.objects.get(pk=3) - FunkyTag.objects.create(content_object=plot, name='hott') - should_contain = """
  • Funky tag: hott""" + tag = FunkyTag.objects.create(content_object=plot, name='hott') + should_contain = """
  • Funky tag: hott""" % tag.id response = self.client.get('/test_admin/admin/admin_views/plot/%s/delete/' % quote(3)) self.assertContains(response, should_contain)