Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/d/j/django-oscar-HEAD/tests/functional/basket_tests.py   django-oscar(Download)
 
        product = create_product(price=D('10.00'), num_in_stock=1)
        basket, created = Basket.open.get_or_create(owner=user)
        add_product(basket, product=product)