modified:   make_post_sell/models/cart.py
	modified:   make_post_sell/models/shop.py
	modified:   make_post_sell/models/user.py
	modified:   make_post_sell/tests/test_functional.py
	modified:   make_post_sell/views/shop.py
This commit is contained in:
Russell Ballestrini 2022-07-14 11:14:20 -04:00
parent e6e519b8e0
commit 0149a1038d
5 changed files with 4 additions and 5 deletions

View file

@ -2,7 +2,7 @@ import uuid
import json
from sqlalchemy.orm import relationship, backref
from sqlalchemy.orm import relationship
from sqlalchemy.ext.associationproxy import association_proxy

View file

@ -8,7 +8,7 @@ from .meta import Base, RBase, UUIDType, now_timestamp, foreign_key, get_object_
from sqlalchemy.ext.associationproxy import association_proxy
from sqlalchemy.orm import relationship, backref
from sqlalchemy.orm import relationship
from .user_shop import UserShop

View file

@ -8,7 +8,7 @@ from .meta import Base, RBase, UUIDType, now_timestamp, foreign_key, get_object_
from sqlalchemy.ext.associationproxy import association_proxy
from sqlalchemy.orm import relationship, backref
from sqlalchemy.orm import relationship
from .user_shop import UserShop

View file

@ -498,7 +498,7 @@ class AuthenticatedFunctionalTests(FunctionalTests):
res_body = res.body.decode()
self.assertIn("Please confirm your order.", res_body)
#self.assertIn("Visa", res_body)
self.assertIn("Visa", res_body)
self.assertIn("Are you sure you want to charge", res_body)
redirect_res1 = self.testapp.get(

View file

@ -64,7 +64,6 @@ def get_shop_from_matchdict(request, prefetched_shop=None):
@view_config(route_name="home", renderer="home.j2")
def home(request):
products = None
print(request.active_cart)
if request.shop:
products = get_products_from_a_shop(request.shop)
return {