Exemple #1
0
def test_verify_account_password_with_missing_upper_case_is_invalid():
    # 4.1.1.3 Password validation
    manager = AccountManager()
    assert manager.verify_password(
        'password1') == False, 'Password should not be valid'
Exemple #2
0
def test_verify_account_password_with_missing_number_is_invalid():
    # 4.1.1.3 Password validation
    manager = AccountManager()
    assert manager.verify_password(
        'SupermanGuy') == False, 'Password should not be valid'
Exemple #3
0
def test_verify_account_password_is_valid():
    # 4.1.1.3 Password validation
    manager = AccountManager()
    assert manager.verify_password(
        'Password1') == True, 'Password should be valid'