예제 #1
0
def test_valid_token4():
    assert utils.valid_token('wrong', 'pollo', 'resetpwd') == False
예제 #2
0
def test_valid_token2():
    assert utils.valid_token('69a72494ba06690eccd6a668a6f24393', 'pollo', 'resetpwd') == True
예제 #3
0
def test_valid_token3():
    assert utils.valid_token('wrong', 'pollo', 'validate_email') == False
예제 #4
0
def test_valid_token1():
    assert utils.valid_token('88618f30250fbc50cbe78d85d827657a', 'pollo', 'validate_email') == True