def make_tiers(carrier, prices, expires=None):
    for qty, handling, price in prices:
        t = QuantityTier(carrier=carrier, 
            handling=Decimal("%i.00" % handling),
            price=Decimal("%i.00" % price),
            quantity=Decimal(qty),
            expires=expires
        )
        t.save()
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/shipping/modules/tieredquantity/tests.py/make_tiers/original