def test_ap_validation_valid_number_is_really_valid(): """Test if a valid number is really valid""" valid_number = '030123459' assert ap.start(valid_number)
def test_ap_validation_start_different_03(): """Test if an invalid number start is different 03""" invalid_number = '172030964' assert ap.start(invalid_number) == False
def test_ap_validation_check_digit(): """Test if invalid the check digit calculation""" invalid_number = '030123456' assert ap.start(invalid_number) == False
def test_ap_validation_right_size_invalid_number(): """Test if an invalid number is really invalid""" invalid_number = '1720309645' assert ap.start(invalid_number) == False
def test_ap_validation_small_size_number(): """Test if an invalid number, with wrong size, is really invalid""" invalid_number = '0172030' assert ap.start(invalid_number) == False
def test_ap_validation_check_digit(): """Test if invalid the check digit calculation""" invalid_number = '030123456' assert ap.start(invalid_number) is False
def test_ap_validation_start_different_03(): """Test if an invalid number start is different 03""" invalid_number = '172030964' assert ap.start(invalid_number) is False
def test_ap_validation_small_size_number(): """Test if an invalid number, with wrong size, is really invalid""" invalid_number = '0172030' assert ap.start(invalid_number) is False
def test_ap_validation_right_size_invalid_number(): """Test if an invalid number is really invalid""" invalid_number = '1720309645' assert ap.start(invalid_number) is False