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

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Calculator class for calculating the order total.

src/d/j/django-oscar-HEAD/tests/unit/checkout/calculator_tests.py   django-oscar(Download)
    def setUp(self):
        self.calculator = calculators.OrderTotalCalculator()
 
    def test_returns_correct_totals_when_tax_is_not_known(self):
        basket = mock.Mock()