Skip to content

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

PEP8

Michał Ociepka232deeb62bd2
diff --git a/saleor/cart/tests.py b/saleor/cart/tests.py
index 911d106732..80c36f2d79 100755
--- a/saleor/cart/tests.py
+++ b/saleor/cart/tests.py
@@ -70,7 +70,8 @@ class BigShipCartFormTest(TestCase):
def test_quantity(self):
'Is BigShipCartForm works with correct quantity value on empty cart'
- form = BigShipCartForm(self.post, cart=self.cart, product=stock_product)
+ form = BigShipCartForm(
+ self.post, cart=self.cart, product=stock_product)
self.assertTrue(form.is_valid())
self.assertFalse(self.cart)
form.save()
@@ -79,10 +80,12 @@ class BigShipCartFormTest(TestCase):
def test_max_quantity(self):
'Is BigShipCartForm works with correct product stock value'
- form = BigShipCartForm(self.post, cart=self.cart, product=stock_product)
+ form = BigShipCartForm(
+ self.post, cart=self.cart, product=stock_product)
self.assertTrue(form.is_valid())
form.save()
- form = BigShipCartForm(self.post, cart=self.cart, product=stock_product)
+ form = BigShipCartForm(
+ self.post, cart=self.cart, product=stock_product)
self.assertTrue(form.is_valid())
form.save()
product_quantity = self.cart.get_line(stock_product).quantity