def testPercentShipping(self):
        shp = _set_percent_taxer('10')
        shp.update(False)

        order = make_test_order('US', 'TX')
        shp.update(True)
        order.recalculate_total(save=False)
        price = order.total
        tax = order.tax

        self.assertEqual(tax, Decimal('11.00'))
        # 100 + 10 shipping + 11 tax
        self.assertEqual(price, Decimal('121.00'))

        taxes = order.taxes.all()
        self.assertEqual(2, len(taxes))
        t1 = taxes[0]
        t2 = taxes[1]
        self.assert_('Shipping' in (t1.description, t2.description))
        if t1.description == 'Shipping':
            tship = t1
            tmain = t2
        else:
            tship = t2
            tmain = t1

        self.assertEqual(tmain.tax, Decimal('10.00'))
        self.assertEqual(tmain.description, r'10%')
        self.assertEqual(tship.tax, Decimal('1.00'))
        self.assertEqual(tship.description, 'Shipping')
Setup the Bluetooth Scanner.
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/tax/tests.py/TaxTest.testPercentShipping--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/device_tracker/bluetooth_tracker.py/setup_scanner