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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Sample strategy for the UK that:

- uses the first stockrecord for each product (effectively assuming
    there is only one).
- requires that a product has stock available to be bought
- applies a fixed rate of tax on all products

This is just a sample strategy used for internal development.  It is not
recommended to be used in production, especially as the tax rate is

src/d/j/django-oscar-HEAD/tests/integration/offer/tax_tests.py   django-oscar(Download)
    def test_respects_effective_price_when_taxes_are_known(self):
        # Assign UK style strategy (20% tax)
        self.basket.strategy = strategy.UK()
        # Add sufficient products to meet condition