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 23, 2024
1 parent 4eefda2 commit a6f0cd4
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 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():
Expand Down

0 comments on commit a6f0cd4

Please sign in to comment.