From 4b8dfaaa4323014583c41638dd9e767044876666 Mon Sep 17 00:00:00 2001 From: Viggo de Vries Date: Fri, 23 Feb 2024 15:01:54 +0100 Subject: [PATCH] equal ofcourse --- tests/reverse/test_catalogue.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/reverse/test_catalogue.py b/tests/reverse/test_catalogue.py index 917acdd..4f54e0a 100644 --- a/tests/reverse/test_catalogue.py +++ b/tests/reverse/test_catalogue.py @@ -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"]), )