From a6f0cd48c43e6cd09f1f6e9ff2c8c9ff08d29b0a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 17:28:35 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- ecommerce/models_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ecommerce/models_test.py b/ecommerce/models_test.py index 057712cc4a..2cb1e42ea4 100644 --- a/ecommerce/models_test.py +++ b/ecommerce/models_test.py @@ -287,7 +287,9 @@ def test_product_managers(): active_products = ProductFactory.create_batch(2, is_active=True) assert set(Product.objects.all().order_by("id")) == set(active_products) - assert set(Product.all_objects.all().order_by("id")) == set(inactive_products + active_products) + assert set(Product.all_objects.all().order_by("id")) == set( + inactive_products + active_products + ) def test_product_multiple_active_for_single_purchasable_object():