def test_groupDiscount(self):
    for combination in itertools.combinations_with_replacement('STXYZ', 3):
        self.assertEqual(checkout(''.join(combination)), 45)
def test_groupDiscount(self):
    for combination in itertools.combinations_with_replacement('STXYZ', 3):
        self.assertEqual(checkout(.join(combination)), 45)