def testFractionalPercentShipping(self):

        log.debug('fractionalpercent')
        shp = _set_percent_taxer('12.254')
        log.debug('making order')
        order = make_test_order('US', 'TX')
        order.recalculate_total(save=False)
        price = order.total
        tax = order.tax

        self.assertEqual(tax, Decimal('12.254'))
        self.assertEqual(order.balance, Decimal('122.26'))

        make_order_payment(order, amount=Decimal('122.26'))

        self.assertEqual(order.balance, Decimal("0.00"))
        self.assert_(order.paid_in_full)

        # try with a known bad case - from email
        shp = _set_percent_taxer('12.25')
        order = make_test_order('US', 'TX', price=Decimal('209.90'), quantity=1)
        order.recalculate_total(save=False)
        price = order.total
        tax = order.tax

        self.assertEqual(tax, Decimal('25.71275'))
        self.assertEqual(order.total, Decimal('245.61275'))
        self.assertEqual(order.balance, Decimal('245.62'))

        make_order_payment(order, amount=Decimal('245.62'))

        #self.assertEqual(order.balance, Decimal("0.00"))
        self.assert_(order.paid_in_full)
basic auth
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/tax/tests.py/TaxTest.testFractionalPercentShipping--crossover with--dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v1_2/test_auth.py/NoAuthProvidedTestCase.test_deleteUser