Exemple #1
0
def test_alagoas_call():
    """Called the state of Alagoas module, to check to be working"""
    invalid_number = '240071779'
    alagoas_index = 'AL'
    assert con.start(invalid_number, alagoas_index) is False
Exemple #2
0
def test_paraiba_call():
    """Called the state of Paraiba module, to check to be working"""
    valid_number = '060000015'
    goais_index = 'PB'
    assert con.start(valid_number, goais_index) is True
Exemple #3
0
def test_piaui_call():
    """Called the state of Piaui module, to check to be working"""
    invalid_number = '012345672'
    piaui_index = 'PI'
    assert con.start(invalid_number, piaui_index) is False
Exemple #4
0
def test_espirito_santo_call():
    """Called the state of Espirito Santo module, to check to be working"""
    invalid_number = '999999905'
    espirito_santo_index = 'ES'
    assert con.start(invalid_number, espirito_santo_index) is False
Exemple #5
0
def test_minas_gerais_call():
    """Called the state of Minas Gerais module, to check to be working"""
    valid_number = '5055050000005'
    minas_gerais_index = 'MG'
    assert con.start(valid_number, minas_gerais_index) is True
Exemple #6
0
def test_sergipe_call():
    """Called the state of Sergipe module, to check to be working"""
    invalid_number = '271234560'
    sergipe_index = 'SE'
    assert con.start(invalid_number, sergipe_index) is False
Exemple #7
0
def test_amapa_call():
    """Called the state of Amapa module, to check to be working"""
    invalid_number = '172030964'
    amapa_index = 'AP'
    assert con.start(invalid_number, amapa_index) is False
Exemple #8
0
def test_roraima_call():
    """Called the state of Roraima module, to check to be working"""
    invalid_number = '240082660'
    roraima_index = 'rR'
    assert con.start(invalid_number, roraima_index) == False
Exemple #9
0
def test_alagoas_call():
    """Called the state of Alagoas module, to check to be working"""
    invalid_number = '240071779'
    alagoas_index = 'AL'
    assert con.start(invalid_number, alagoas_index) == False
Exemple #10
0
def test_rio_grande_do_norte_call():
    """Called the state of Rio Grande de Norte module, to check to be working"""
    invalid_number = '2000400407'
    rio_grande_do_norte_index = 'RN'
    assert con.start(invalid_number, rio_grande_do_norte_index) == False
Exemple #11
0
def test_rodonia_call():
    """Called the state of Rondonia module, to check to be working"""
    invalid_number = '101625214'
    rodonia_index = 'RO'
    assert con.start(invalid_number, rodonia_index) == False
Exemple #12
0
def test_rio_de_janeiro_call():
    """Called the state of Rio de Janeiro module, to check to be working"""
    invalid_number = '10022009'
    parana_index = 'RJ'
    assert con.start(invalid_number, parana_index) == False
Exemple #13
0
def test_parana_call():
    """Called the state of Parana module, to check to be working"""
    invalid_number = '1234567851'
    parana_index = 'PR'
    assert con.start(invalid_number, parana_index) == False
Exemple #14
0
def test_piaui_call():
    """Called the state of Piaui module, to check to be working"""
    invalid_number = '012345672'
    piaui_index = 'PI'
    assert con.start(invalid_number, piaui_index) == False
Exemple #15
0
def test_rodonia_call():
    """Called the state of Rondonia module, to check to be working"""
    invalid_number = '101625214'
    rodonia_index = 'RO'
    assert con.start(invalid_number, rodonia_index) is False
Exemple #16
0
def test_rio_grande_do_sul_call():
    """Called the state of Rio Grande do Sul module, to check to be working"""
    invalid_number = '2243658796'
    rio_grande_do_sul_index = 'RS'
    assert con.start(invalid_number, rio_grande_do_sul_index) == False
Exemple #17
0
def test_rio_grande_do_sul_call():
    """Called the state of Rio Grande do Sul module, to check to be working"""
    invalid_number = '2243658796'
    rio_grande_do_sul_index = 'RS'
    assert con.start(invalid_number, rio_grande_do_sul_index) is False
Exemple #18
0
def test_santa_catarina_call():
    """Called the state of Santa Catarina module, to check to be working"""
    invalid_number = '251040855'
    santa_catarina_index = 'SC'
    assert con.start(invalid_number, santa_catarina_index) == False
Exemple #19
0
def test_tocantins_call():
    """Called the state of Tocantins module, to check to be working"""
    invalid_number = '29010227831'
    tocantins_index = 'TO'
    assert con.start(invalid_number, tocantins_index) is False
Exemple #20
0
def test_sergipe_call():
    """Called the state of Sergipe module, to check to be working"""
    invalid_number = '271234560'
    sergipe_index = 'SE'
    assert con.start(invalid_number, sergipe_index) == False
Exemple #21
0
def test_ceara_call():
    """Called the state of Ceara module, to check to be working"""
    invalid_number = '60000013'
    ceara_index = 'CE'
    assert con.start(invalid_number, ceara_index) is False
Exemple #22
0
def test_sao_paulo_call():
    """Called the state of Sao Paulo module, to check to be working"""
    invalid_number = 'T011004248003'
    sao_paulo_index = 'SP'
    assert con.start(invalid_number, sao_paulo_index) == False
Exemple #23
0
def test_goias_call():
    """Called the state of Goais module, to check to be working"""
    valid_number = '110010000'
    goais_index = 'GO'
    assert con.start(valid_number, goais_index) is True
Exemple #24
0
def test_tocantins_call():
    """Called the state of Tocantins module, to check to be working"""
    invalid_number = '29010227831'
    tocantins_index = 'TO'
    assert con.start(invalid_number, tocantins_index) == False
Exemple #25
0
def test_pernambuco_call():
    """Called the state of Pernambuco module, to check to be working"""
    invalid_number = '032141833'
    pernambuco_index = 'PE'
    assert con.start(invalid_number, pernambuco_index) == False
Exemple #26
0
def test_amazonas_call():
    """Called the state of Amazonas module, to check to be working"""
    valid_number = '100000010'
    amazonas_index = 'AM'
    assert con.start(valid_number, amazonas_index)
Exemple #27
0
def test_pernambuco_call():
    """Called the state of Pernambuco module, to check to be working"""
    invalid_number = '032141833'
    pernambuco_index = 'PE'
    assert con.start(invalid_number, pernambuco_index) is False
Exemple #28
0
def test_amapa_call():
    """Called the state of Amapa module, to check to be working"""
    invalid_number = '172030964'
    amapa_index = 'AP'
    assert con.start(invalid_number, amapa_index) == False
Exemple #29
0
def test_parana_call():
    """Called the state of Parana module, to check to be working"""
    invalid_number = '1234567851'
    parana_index = 'PR'
    assert con.start(invalid_number, parana_index) is False
Exemple #30
0
def test_bahia_call():
    """Called the state of Bahia module, to check to be working"""
    valid_number = '162345651'
    bahia_index = 'BA'
    assert con.start(valid_number, bahia_index)
Exemple #31
0
def test_rio_de_janeiro_call():
    """Called the state of Rio de Janeiro module, to check to be working"""
    invalid_number = '10022009'
    parana_index = 'RJ'
    assert con.start(invalid_number, parana_index) is False
Exemple #32
0
def test_ceara_call():
    """Called the state of Ceara module, to check to be working"""
    invalid_number = '60000013'
    ceara_index = 'CE'
    assert con.start(invalid_number, ceara_index) == False
Exemple #33
0
def test_roraima_call():
    """Called the state of Roraima module, to check to be working"""
    invalid_number = '240082660'
    roraima_index = 'rR'
    assert con.start(invalid_number, roraima_index) is False
Exemple #34
0
def test_distrito_federal_call():
    """Called the state of Distrito Federal module, to check to be working"""
    valid_number = '0716109443382'
    distrito_federal_index = 'DF'
    assert con.start(valid_number, distrito_federal_index) == True
Exemple #35
0
def test_santa_catarina_call():
    """Called the state of Santa Catarina module, to check to be working"""
    invalid_number = '251040855'
    santa_catarina_index = 'SC'
    assert con.start(invalid_number, santa_catarina_index) is False
Exemple #36
0
def test_espirito_santo_call():
    """Called the state of Espirito Santo module, to check to be working"""
    invalid_number = '999999905'
    espirito_santo_index = 'ES'
    assert con.start(invalid_number, espirito_santo_index) == False
Exemple #37
0
def test_sao_paulo_call():
    """Called the state of Sao Paulo module, to check to be working"""
    invalid_number = 'T011004248003'
    sao_paulo_index = 'SP'
    assert con.start(invalid_number, sao_paulo_index) is False
Exemple #38
0
def test_goias_call():
    """Called the state of Goais module, to check to be working"""
    valid_number = '110010000'
    goais_index = 'GO'
    assert con.start(valid_number, goais_index) == True
Exemple #39
0
def test_amazonas_call():
    """Called the state of Amazonas module, to check to be working"""
    valid_number = '100000010'
    amazonas_index = 'AM'
    assert con.start(valid_number, amazonas_index)
Exemple #40
0
def test_maranhao_call():
    """Called the state of Maranhao module, to check to be working"""
    invalid_number = '120000382'
    maranhao_index = 'MA'
    assert con.start(invalid_number, maranhao_index) == False
Exemple #41
0
def test_bahia_call():
    """Called the state of Bahia module, to check to be working"""
    valid_number = '162345651'
    bahia_index = 'BA'
    assert con.start(valid_number, bahia_index)
Exemple #42
0
def test_minas_gerais_call():
    """Called the state of Minas Gerais module, to check to be working"""
    valid_number = '5055050000005'
    minas_gerais_index = 'MG'
    assert con.start(valid_number, minas_gerais_index) == True
Exemple #43
0
def test_distrito_federal_call():
    """Called the state of Distrito Federal module, to check to be working"""
    valid_number = '0716109443382'
    distrito_federal_index = 'DF'
    assert con.start(valid_number, distrito_federal_index) is True
Exemple #44
0
def test_mato_grosso_do_sul_call():
    """Called the state of Mato Grosso do Sul module, to check to be working"""
    invalid_number = '280000009'
    mato_grosso_do_sul_index = 'MS'
    assert con.start(invalid_number, mato_grosso_do_sul_index) == False
Exemple #45
0
def test_acre_call():
    """Called the state of Acre module, to check to be working"""
    invalid_number = '0172030964577'
    acre_index = 'AC'
    assert con.start(invalid_number, acre_index) is False
Exemple #46
0
def test_acre_call():
    """Called the state of Acre module, to check to be working"""
    invalid_number = '0172030964577'
    acre_index = 'AC'
    assert con.start(invalid_number, acre_index) == False
Exemple #47
0
def test_maranhao_call():
    """Called the state of Maranhao module, to check to be working"""
    invalid_number = '120000382'
    maranhao_index = 'MA'
    assert con.start(invalid_number, maranhao_index) is False
Exemple #48
0
def test_mato_grosso_call():
    """Called the state of Maro Grosso module, to check to be working"""
    valid_number = '00130000019'
    goais_index = 'MT'
    assert con.start(valid_number, goais_index) == True
Exemple #49
0
def test_mato_grosso_do_sul_call():
    """Called the state of Mato Grosso do Sul module, to check to be working"""
    invalid_number = '280000009'
    mato_grosso_do_sul_index = 'MS'
    assert con.start(invalid_number, mato_grosso_do_sul_index) is False
Exemple #50
0
def test_paraiba_call():
    """Called the state of Paraiba module, to check to be working"""
    valid_number = '060000015'
    goais_index = 'PB'
    assert con.start(valid_number, goais_index) == True