flake8
This commit is contained in:
parent
77b6c87973
commit
2e0144effe
3 changed files with 8 additions and 5 deletions
|
@ -2,9 +2,11 @@ from .product import ProductController
|
||||||
|
|
||||||
from registrasion import models as rego
|
from registrasion import models as rego
|
||||||
|
|
||||||
|
|
||||||
class AllProducts(object):
|
class AllProducts(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class CategoryController(object):
|
class CategoryController(object):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -293,7 +293,8 @@ class BasicCartTests(RegistrationCartTestCase):
|
||||||
def __available_products_test(self, item, quantity):
|
def __available_products_test(self, item, quantity):
|
||||||
self.set_limits()
|
self.set_limits()
|
||||||
|
|
||||||
get_prods = lambda: ProductController.available_products(
|
def get_prods():
|
||||||
|
return ProductController.available_products(
|
||||||
self.USER_1,
|
self.USER_1,
|
||||||
products=[self.PROD_2, self.PROD_3, self.PROD_4],
|
products=[self.PROD_2, self.PROD_3, self.PROD_4],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue