Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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
Esempio n. 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