Renames "discover"

This commit is contained in:
Mouse Reeve
2021-08-07 11:15:02 -07:00
parent 1dea2b307b
commit 040758c833
10 changed files with 44 additions and 21 deletions

View File

@ -54,9 +54,9 @@ class LandingViews(TestCase):
result.render()
self.assertEqual(result.status_code, 200)
def test_discover(self):
def test_landing(self):
"""there are so many views, this just makes sure it LOADS"""
view = views.Discover.as_view()
view = views.Landing.as_view()
request = self.factory.get("")
result = view(request)
self.assertIsInstance(result, TemplateResponse)