Skip to content

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

Refactor checkout test case

Artur Smęt28f48414e419
diff --git a/saleor/checkout/tests.py b/saleor/checkout/tests.py
index 3a280e5162..f59fb33c0b 100644
--- a/saleor/checkout/tests.py
+++ b/saleor/checkout/tests.py
@@ -101,10 +101,9 @@ class TestShippingStep(TestCase):
def test_address_save_with_address_in_checkout(self, mock_save):
self.request.POST = NEW_ADDRESS.copy()
self.request.POST['method'] = 'dummy_shipping'
- original_billing_address_data = {'first_name': 'Change',
- 'last_name': 'Me',
- 'id': 10}
- original_billing_address = original_billing_address_data
+ original_billing_address = {'first_name': 'Change',
+ 'last_name': 'Me',
+ 'id': 10}
group = MagicMock()
group.address = None
storage = {'address': original_billing_address}