def test_to_validation_valid_number_is_really_valid(): """Test if a valid number is really valid""" valid_number = '29010227836' assert to.start(valid_number)
def test_to_validation_invalid_number_with_third_and_fourth_digit_different_01_02_03_99(): """Test if invalid number with third and fourth digit different of 01, 02, 03 e 99""" invalid_number = '06087879999' assert to.start(invalid_number) == False
def test_to_validation_invalid_digit_verification(): """Test if digit verification is invalid""" invalid_number = '29010227833' assert to.start(invalid_number) == False
def test_to_validation_right_size_invalid_number(): """Test if an invalid number is really invalid""" invalid_number = '24172030964577' assert to.start(invalid_number) == False
def test_to_validation_small_size_number(): """Test if an invalid number, with wrong size, is really invalid""" invalid_number = '247030' assert to.start(invalid_number) == False
def test_to_validation_invalid_digit_verification(): """Test if digit verification is invalid""" invalid_number = '29010227833' assert to.start(invalid_number) is False
def test_to_validation_invalid_number_with_third_and_fourth_digit_different_01_02_03_99(): """Test if invalid number with third and fourth digit different of 01, 02, 03 e 99""" invalid_number = '06087879999' assert to.start(invalid_number) is False
def test_to_validation_small_size_number(): """Test if an invalid number, with wrong size, is really invalid""" invalid_number = '247030' assert to.start(invalid_number) is False
def test_to_validation_right_size_invalid_number(): """Test if an invalid number is really invalid""" invalid_number = '24172030964577' assert to.start(invalid_number) is False