Skip to content

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

Update tests names reflecting the updated method

Unknown48adf609161d
diff --git a/tests/api/test_checkout.py b/tests/api/test_checkout.py
index e3787a9839..78bf744efe 100644
--- a/tests/api/test_checkout.py
+++ b/tests/api/test_checkout.py
@@ -1154,7 +1154,7 @@ def test_ready_to_place_order_no_payment(
assert error == 'Checkout can not be fully paid with proper payments'
-def test_is_fully_paid(cart_with_item, payment_dummy):
+def test_can_be_fully_paid(cart_with_item, payment_dummy):
checkout = cart_with_item
total = checkout.get_total()
payment = payment_dummy
@@ -1168,7 +1168,7 @@ def test_is_fully_paid(cart_with_item, payment_dummy):
assert is_paid
-def test_is_fully_paid_many_payments(cart_with_item, payment_dummy):
+def test_can_be_fully_paid_many_payments(cart_with_item, payment_dummy):
checkout = cart_with_item
total = checkout.get_total()
payment = payment_dummy
@@ -1190,7 +1190,7 @@ def test_is_fully_paid_many_payments(cart_with_item, payment_dummy):
assert is_paid
-def test_is_fully_paid_partially_paid(cart_with_item, payment_dummy):
+def test_can_be_fully_paid_partially_paid(cart_with_item, payment_dummy):
checkout = cart_with_item
total = checkout.get_total()
payment = payment_dummy
@@ -1204,7 +1204,7 @@ def test_is_fully_paid_partially_paid(cart_with_item, payment_dummy):
assert not is_paid
-def test_is_fully_paid_no_payment(cart_with_item):
+def test_can_be_fully_paid_no_payment(cart_with_item):
checkout = cart_with_item
is_paid = can_be_fully_paid(checkout, None, None)
assert not is_paid