def test_terms_conditions_invalid(self): validation = FormValidation() self.assertFalse(validation.terms_conditions(''))
def test_terms_conditions(self): validation = FormValidation() self.assertTrue(validation.terms_conditions('on'))