Exemplo n.º 1
0
def test_login_nonmatch():
    foundMatch = loginCheck("wrong", "madeup")
    assert foundMatch == False
Exemplo n.º 2
0
def test_login_fake_password():
    foundMatch = loginCheck("test", "wrong")
    assert foundMatch == False
Exemplo n.º 3
0
def test_login_not_match():
    foundMatch = loginCheck("test", "fakepassword")
    assert foundMatch == False
Exemplo n.º 4
0
def test_login_fake_username():
    foundMatch = loginCheck("wrong", "fakepassword")
    assert foundMatch == False
Exemplo n.º 5
0
def test_login_match():
    foundMatch = loginCheck("test", "testpassword")
    assert foundMatch == True