def test_check_too_long_imo_number(self): """ IMO number that is too long - > 7 chars """ self.assertFalse(t5.check_imo_number('917070500005'))
def test_check_invalid_imo_number(self): """ correct length but is not a valid IMO number """ self.assertFalse(t5.check_imo_number('9999999'))
def test_check_too_short_imo_number(self): """ IMO number that is too short - < 7 chars """ self.assertFalse(t5.check_imo_number('9999'))
def test_check_valid_imo_number(self): """ a correct IMO number """ self.assertTrue(t5.check_imo_number('9170705'))