Terarea  2
The automation project
Loading...
Searching...
No Matches
test_password_handling Namespace Reference

Functions

None test_correct_password ()
 
None test_wrong_password ()
 

Variables

str DUMMY_PASSWORD = "some_password"
 
str WRONG_PASSWORD = "some_other_password"
 
 PHI = PasswordHandling()
 
 HASHED_PASSWORD = PHI.hash_password(DUMMY_PASSWORD)
 

Detailed Description

_summary_
    File in charge of testing the http response codes.

Function Documentation

◆ test_correct_password()

None test_password_handling.test_correct_password ( )
_summary_
    Function in charge of testing if the current password is the same as the hashed version.

Definition at line 19 of file test_password_handling.py.

◆ test_wrong_password()

None test_password_handling.test_wrong_password ( )
_summary_
    Function in charge of testing if the current password is not the same as the hashed version.

Definition at line 26 of file test_password_handling.py.

Variable Documentation

◆ DUMMY_PASSWORD

str test_password_handling.DUMMY_PASSWORD = "some_password"

Definition at line 13 of file test_password_handling.py.

◆ HASHED_PASSWORD

test_password_handling.HASHED_PASSWORD = PHI.hash_password(DUMMY_PASSWORD)

Definition at line 16 of file test_password_handling.py.

◆ PHI

test_password_handling.PHI = PasswordHandling()

Definition at line 15 of file test_password_handling.py.

◆ WRONG_PASSWORD

str test_password_handling.WRONG_PASSWORD = "some_other_password"

Definition at line 14 of file test_password_handling.py.