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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
PurchaseInfo(price, availability, stockrecord)

src/d/j/django-oscar-HEAD/oscar/test/factories.py   django-oscar(Download)
def create_purchase_info(record):
    return strategy.PurchaseInfo(
        price=prices.FixedPrice(
            record.price_currency,
            record.price_excl_tax,

src/d/j/django-oscar-0.7/oscar/test/factories.py   django-oscar(Download)
def create_purchase_info(record):
    return strategy.PurchaseInfo(
        price=prices.FixedPrice(
            record.price_currency,
            record.price_excl_tax,