Skip to content

Commit e8a7b94

Browse files
committed
feat: fixed CI failures
1 parent 29b3222 commit e8a7b94

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

commerce_coordinator/apps/commercetools/clients.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
OrderAddReturnInfoAction,
2323
OrderSetReturnItemCustomTypeAction,
2424
OrderSetReturnPaymentStateAction,
25-
OrderTransitionLineItemStateAction,
25+
OrderTransitionLineItemStateAction
2626
)
2727
from commercetools.platform.models import Payment as CTPayment
2828
from commercetools.platform.models import PaymentAddTransactionAction, PaymentSetTransactionCustomTypeAction
@@ -33,7 +33,7 @@
3333
ReturnShipmentState,
3434
StateResourceIdentifier,
3535
TransactionDraft,
36-
TransactionType,
36+
TransactionType
3737
)
3838
from commercetools.platform.models import Type as CTType
3939
from commercetools.platform.models import TypeDraft as CTTypeDraft
@@ -46,13 +46,13 @@
4646
DEFAULT_ORDER_EXPANSION,
4747
EDX_PAYPAL_PAYMENT_INTERFACE_NAME,
4848
EDX_STRIPE_PAYMENT_INTERFACE_NAME,
49-
EdXFieldNames,
49+
EdXFieldNames
5050
)
5151
from commerce_coordinator.apps.commercetools.catalog_info.foundational_types import TwoUCustomTypes
5252
from commerce_coordinator.apps.commercetools.utils import (
5353
find_refund_transaction,
5454
handle_commercetools_error,
55-
translate_refund_status_to_transaction_status,
55+
translate_refund_status_to_transaction_status
5656
)
5757
from commerce_coordinator.apps.core.constants import ORDER_HISTORY_PER_SYSTEM_REQ_LIMIT
5858

commerce_coordinator/apps/paypal/tests/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
import base64
55
import zlib
6-
from unittest.mock import patch, MagicMock
6+
from unittest.mock import MagicMock, patch
77

88
from django.conf import settings
99
from django.urls import reverse

commerce_coordinator/apps/paypal/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from commerce_coordinator.apps.core.views import SingleInvocationAPIView
2222
from commerce_coordinator.apps.paypal.signals import payment_refunded_signal
2323

24-
2524
logger = logging.getLogger(__name__)
2625

2726
WEBHOOK_ID = settings.PAYMENT_PROCESSOR_CONFIG['edx']['paypal']['paypal_webhook_id']

0 commit comments

Comments
 (0)