Skip to content

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

Clean up unused test

Artur Smętba5e99873b73
diff --git a/saleor/cart/__init__.py b/saleor/cart/__init__.py
index 7ca0642a50..dd6e64c129 100755
--- a/saleor/cart/__init__.py
+++ b/saleor/cart/__init__.py
@@ -59,11 +59,6 @@ class Cart(cart.Cart):
@python_2_unicode_compatible
class SessionCart(cart.Cart):
- '''
- Serializable representation of cart.
- Parameters:
- variant - Instance of ProductVariant
- '''
def __str__(self):
return 'SessionCart'
diff --git a/saleor/cart/tests.py b/saleor/cart/tests.py
index d12f3e8f28..e336f49868 100755
--- a/saleor/cart/tests.py
+++ b/saleor/cart/tests.py
@@ -182,11 +182,3 @@ class SessionCartTest(TestCase):
def test_count(self):
self.cart.add(stock_product, quantity=5)
self.assertEqual(self.cart.count(), 5)
-
- def test_as_data(self):
- self.cart.add(stock_product, quantity=5)
- expected = {
- 'items': self.cart._state,
- 'modified': True
- }
- self.assertEqual(self.cart.for_storage(), expected)
\ No newline at end of file