def test_date_check_incorrect_size(self): string = '20002-12-32' self.assertFalse(checkDateString(string))
def test_date_check_correct_size_wrong_characters(self): string = '2AAA-01-01' self.assertFalse(checkDateString(string))
def test_date_check_incorrect_month(self): string = '2000-13-01' self.assertFalse(checkDateString(string))
def test_date_check_correct_string(self): string = '2000-10-07' self.assertTrue(checkDateString(string))
def test_date_check_wrong_argument(self): string = None self.assertFalse(checkDateString(string))