...
Otherwise, you will need to install all dependencies in your local env.
User test functions | Doc |
---|---|
model_test.py/test_user_create | test if a user can be created correctly |
model_test.py/create_user | helper function to create a user |
model_test.py/test_generate_password_hash | test if a password hash can be generate correctly |
model_test.py/test_check_password_hash | test if the password checking working properly |
api_test.py/test_app_is_testing | test if the app is running in TEST mode |
api_test.py/register | helper function to register a new user by API |
api_test.py/test_register | test if a user can be registered correctly via register API |
api_test.py/test_login | test if a user can logged in with credentials via log in API |
api_test.py/test_logout | test if a user can logout via log out API |