Skip to content

Commit

Permalink
equal ofcourse
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo-devries committed Feb 23, 2024
1 parent 8a0a811 commit 4b8dfaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/reverse/test_catalogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,9 @@ def test_recommendation(self):

prd = Product.objects.get(upc="harses")

self.assertEquals(ProductRecommendation.objects.count(), 2)
self.assertEquals(prd.recommended_products.count(), 2)
self.assertEquals(
self.assertEqual(ProductRecommendation.objects.count(), 2)
self.assertEqual(prd.recommended_products.count(), 2)
self.assertEqual(
sorted(list(prd.recommended_products.values_list("upc", flat=True))),
sorted(["recommended_product1", "recommended_product2"]),
)
Expand Down

0 comments on commit 4b8dfaa

Please sign in to comment.