Skip to content

Commit

Permalink
Fix typo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior committed Aug 30, 2024
1 parent 748fe33 commit 1f354ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pylinks/links/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def setUp(self):
class CategoryListViewTests(ListViewTests):
def test_category_list(self):
response = self.client.get("/links/category/a/")
self.assertQuerysetEqual(
self.assertQuerySetEqual(
response.context["links"],
[
Link.objects.get(title="GitHub"),
Expand All @@ -65,7 +65,7 @@ def test_category_list(self):
class PopularListViewTests(ListViewTests):
def test_popular_list(self):
response = self.client.get("/links/popular/")
self.assertQuerysetEqual(
self.assertQuerySetEqual(
response.context["links"],
[
Link.objects.get(title="UW"),
Expand All @@ -78,7 +78,7 @@ def test_popular_list(self):
class RecentListViewTests(ListViewTests):
def test_recent_list(self):
response = self.client.get("/links/recent/")
self.assertQuerysetEqual(
self.assertQuerySetEqual(
response.context["links"],
[
Link.objects.get(title="UW"),
Expand Down

0 comments on commit 1f354ac

Please sign in to comment.