From 5de3c75de36351f0b63f29e1bad7226b0ed22e5c Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 16 Aug 2021 10:28:32 -0700 Subject: [PATCH] Remove render from tests --- bookwyrm/tests/views/test_rss_feed.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bookwyrm/tests/views/test_rss_feed.py b/bookwyrm/tests/views/test_rss_feed.py index 69a9ef02..f2d3baf2 100644 --- a/bookwyrm/tests/views/test_rss_feed.py +++ b/bookwyrm/tests/views/test_rss_feed.py @@ -27,7 +27,6 @@ class RssFeedView(TestCase): models.SiteSettings.objects.create() - def test_rss_empty(self, *_): """load an rss feed""" view = rss_feed.RssFeed() @@ -36,7 +35,6 @@ class RssFeedView(TestCase): result = view(request, username=self.local_user.username) self.assertEqual(result.status_code, 200) self.assertIn(b"Status updates from rss_user", result.content) - result.render() def test_rss_comment(self, *_): """load an rss feed""" @@ -51,7 +49,6 @@ class RssFeedView(TestCase): result = view(request, username=self.local_user.username) self.assertEqual(result.status_code, 200) self.assertIn(b"Example Edition", result.content) - result.render() def test_rss_review(self, *_): """load an rss feed""" @@ -67,7 +64,6 @@ class RssFeedView(TestCase): request.user = self.local_user result = view(request, username=self.local_user.username) self.assertEqual(result.status_code, 200) - result.render() def test_rss_quotation(self, *_): """load an rss feed""" @@ -82,6 +78,5 @@ class RssFeedView(TestCase): request.user = self.local_user result = view(request, username=self.local_user.username) self.assertEqual(result.status_code, 200) - result.render() self.assertIn(b"a sickening sense", result.content)