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 Sep 10, 2024
1 parent 3680ae2 commit c363348
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions ecommerce/api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,12 +518,8 @@ def test_check_and_process_pending_orders_for_resolution(mocker, test_type):

# mocking out the create_enrollment and create_paid_courserun calls
# we don't really care that it hits edX for this
mocker.patch(
"ecommerce.models.OrderFlow.create_enrollments", return_value=True
)
mocker.patch(
"ecommerce.models.OrderFlow.create_paid_courseruns", return_value=True
)
mocker.patch("ecommerce.models.OrderFlow.create_enrollments", return_value=True)
mocker.patch("ecommerce.models.OrderFlow.create_paid_courseruns", return_value=True)

test_payload = {
"utf8": "",
Expand Down

0 comments on commit c363348

Please sign in to comment.