def test_overall_no_symbol_password() : res = server.pwdCheck('ZendeskSecTest2021') assert (res['password_ok'] == False and res['symbol_error'] == True) == True
def test_overall_no_uppercase_password() : res = server.pwdCheck('zendesksectest2021!') assert (res['password_ok'] == False and res['uppercase_error'] == True)== True
def test_overall_no_lowercase_password() : res = server.pwdCheck('ZENDESKSECTEST2021!') assert (res['password_ok'] == False and res['lowercase_error'] == True) == True
def test_overall_no_digit_password() : res = server.pwdCheck('ZendeskSecTest!') assert (res['password_ok'] == False and res['digit_error'] == True) == True
def test_overall_short_password() : res = server.pwdCheck('a^&=?Q4') assert (res['password_ok'] == False and res['length_error'] == True) == True
def test_overall_common_password(): res = server.pwdCheck('password') assert (res['password_ok'] == False and res['common_pwd'] == True) == True
def test_overall_password_check_ok2(): res = server.pwdCheck('ZendeskSecTest2021@!') assert res['password_ok'] == True
def test_overall_password_check_ok1(): res = server.pwdCheck('a^&=?Q4w&5*qKS@h') assert res['password_ok'] == True