

def testFutureDate(self):
    'Test a future date for discount start'
    start = datetime.date(5000, 1, 1)
    self.discount.startDate = start
    self.discount.save()
    self.discount.isValid()
    v = self.discount.isValid()
    start.assertFalse(v[0])
    self.assertEqual(v[1], 'This coupon is not active yet.')

dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py DiscountTest.testFutureDate/VarMisuse@59/83 `self`->`start`