Example #1
0
def test_df_validation_big_size_number():
    """Test if an invalid number, with wrong size, is really invalid"""

    invalid_number = '07161094433822'
    assert df.start(invalid_number) == False
Example #2
0
def test_df_validation_right_size_invalid_number():
    """Test if an invalid number is really invalid. The number start 07"""

    invalid_number = '0716109443381'
    assert df.start(invalid_number) == False
Example #3
0
def test_df_validation_right_size_valid_number():
    """Test if a valid number is really valid"""
    valid = '0716109443382'
    assert df.start(valid) == True
Example #4
0
def test_df_validation_right_size_invalid_number_star_with_07():
    """Test if a invalid number is really invalid. The state registration must start with 07"""

    invalid_number = '063000100195'
    assert df.start(invalid_number) == False
Example #5
0
def test_df_validation_big_size_number():
    """Test if an invalid number, with wrong size, is really invalid"""

    invalid_number = '07161094433822'
    assert df.start(invalid_number) is False
Example #6
0
def test_df_validation_right_size_valid_number():
    """Test if a valid number is really valid"""
    valid = '0716109443382'
    assert df.start(valid) is True
Example #7
0
def test_df_validation_right_size_invalid_number():
    """Test if an invalid number is really invalid. The number start 07"""

    invalid_number = '0716109443381'
    assert df.start(invalid_number) is False
Example #8
0
def test_df_validation_right_size_invalid_number_star_with_07():
    """Test if a invalid number is really invalid. The state registration must start with 07"""

    invalid_number = '063000100195'
    assert df.start(invalid_number) is False