Skip to content

Saleor Core: the high performance, composable, headless commerce API.

pep8

Jakub Draganek89d767e8d738
diff --git a/tests/test_asynchronous_tasks.py b/tests/test_asynchronous_tasks.py
index 6dacac87cc..69ef61e2ed 100644
--- a/tests/test_asynchronous_tasks.py
+++ b/tests/test_asynchronous_tasks.py
@@ -22,6 +22,6 @@ def test_task_running_asynchronously_on_worker(celery_worker):
@mock.patch('saleor.order.emails.send_templated_mail')
def test_email_sending_asynchronously(email_send, celery_app, celery_worker):
order = send_order_confirmation.delay('[email protected]', '/nowhere/to/go')
- payment = send_payment_confirmation.delay('[email protected]', '/nowhere/to/go')
+ payment = send_payment_confirmation.delay('[email protected]', '/nowhere/')
order.get()
payment.get()
diff --git a/tests/test_emails.py b/tests/test_emails.py
index 83868d52ea..0750e5c3db 100644
--- a/tests/test_emails.py
+++ b/tests/test_emails.py
@@ -31,4 +31,3 @@ def test_send_order_payment_confirmation(mocked_templated_email,
mocked_templated_email.assert_called_once_with(
recipient_list=[EMAIL], context=context, from_email=EMAIL_FROM,
template_name=emails.CONFIRM_PAYMENT_TEMPLATE)
-