Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 24, 2024
1 parent 09e0f25 commit 22e9c35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ecommerce/models_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ def test_product_managers():
active_products = ProductFactory.create_batch(2, is_active=True)

assert list(Product.objects.all().order_by("id")) == list(active_products)
assert list(Product.all_objects.all().order_by("id")) == list(inactive_products + active_products)
assert list(Product.all_objects.all().order_by("id")) == list(
inactive_products + active_products
)


def test_product_multiple_active_for_single_purchasable_object():
Expand Down

0 comments on commit 22e9c35

Please sign in to comment.