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