예제 #1
0
 def test_height_59in_with_leading_zero_is_invalid(self):
     assert not passport_validation.is_valid_height('059in')
예제 #2
0
 def test_height_150_with_invalid_length_system_is_invalid(self):
     assert not passport_validation.is_valid_height('150c')
예제 #3
0
 def test_height_77in_is_invalid(self):
     assert not passport_validation.is_valid_height('77in')
예제 #4
0
 def test_height_76in_is_valid(self):
     assert passport_validation.is_valid_height('76in')
예제 #5
0
 def test_height_150cm_with_leading_zero_is_invalid(self):
     assert not passport_validation.is_valid_height('0150cm')
예제 #6
0
 def test_height_194cm_is_invalid(self):
     assert not passport_validation.is_valid_height('194cm')
예제 #7
0
 def test_height_150cm_is_valid(self):
     assert passport_validation.is_valid_height('150cm')