def testPastDate(self):
        #Change end date to the past
        start = datetime.date(2000, 1, 1)
        end = datetime.date(2006, 1, 1)
        self.discount.startDate = start
        self.discount.endDate = end
        self.discount.save()
        v = self.discount.isValid()
        self.assertFalse(v[0])
        self.assertEqual(v[1], u'This coupon has expired.')
Return list of (key, value, index) tuples.
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py/DiscountTest.testPastDate--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/samples-and-tests/i-am-a-developer/mechanize/ClientForm.py/Control._totally_ordered_pairs