def testEvenSplitTooMuch(self):
        d = {
            1 : Decimal("10.00"),
            2 : Decimal("10.00"),
            3 : Decimal("10.00"),
            4 : Decimal("10.00"),
        }

        s = Discount.apply_even_split(d, Decimal("50.00"))
        self.assertEqual(s[1], Decimal("10.00"))
        self.assertEqual(s[2], Decimal("10.00"))
        self.assertEqual(s[3], Decimal("10.00"))
        self.assertEqual(s[4], Decimal("10.00"))
Test when amount is greater than total
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py/CalcFunctionTest.testEvenSplitTooMuch