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