예제 #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
예제 #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
예제 #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
예제 #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
예제 #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
예제 #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
예제 #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
예제 #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