

def testValid(self):
    v = self.discount.isValid()
    self.assert_(v[0])
    self.assertEqual(v[1], 'Valid.')

dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py DiscountTest.testValid/original