Terarea  2
The automation project
Loading...
Searching...
No Matches
test_backend_endpoints.TestServer Class Reference
Collaboration diagram for test_backend_endpoints.TestServer:
Collaboration graph

Public Member Functions

 check_server (self, setup_environment, bool critical=False)
 
 test_home (self, setup_environment)
 
 test_api_home (self, setup_environment)
 
 test_post_register_lambda (self, setup_environment)
 
 test_post_login_lambda (self, setup_environment)
 
 test_post_register_admin (self, setup_environment)
 
 test_post_login_admin (self, setup_environment)
 
 test_put_user_lambda (self, setup_environment)
 
 test_put_user_admin (self, setup_environment)
 
 test_patch_user_lambda_username (self, setup_environment)
 
 test_patch_user_lambda_email (self, setup_environment)
 
 test_patch_user_lambda_password (self, setup_environment)
 
 test_patch_user_admin_username (self, setup_environment)
 
 test_patch_user_admin_email (self, setup_environment)
 
 test_patch_user_admin_password (self, setup_environment)
 
 test_get_user_lambda (self, setup_environment)
 
 test_get_user_admin (self, setup_environment)
 
 test_get_user_id_lambda (self, setup_environment)
 
 test_get_user_id_admin (self, setup_environment)
 
 test_logout_user_lambda (self, setup_environment)
 
 test_logout_user_admin (self, setup_environment)
 
 test_delete_user_lambda (self, setup_environment)
 
 test_delete_user_admin (self, setup_environment)
 

Detailed Description

Class for running tests on the character server endpoint.

Definition at line 188 of file test_backend_endpoints.py.

Member Function Documentation

◆ check_server()

test_backend_endpoints.TestServer.check_server ( self,
setup_environment,
bool critical = False )
Helper function to check if the server is still running.

Definition at line 191 of file test_backend_endpoints.py.

◆ test_api_home()

test_backend_endpoints.TestServer.test_api_home ( self,
setup_environment )
 Test the / endpoint of the server. 

Definition at line 215 of file test_backend_endpoints.py.

◆ test_delete_user_admin()

test_backend_endpoints.TestServer.test_delete_user_admin ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 938 of file test_backend_endpoints.py.

◆ test_delete_user_lambda()

test_backend_endpoints.TestServer.test_delete_user_lambda ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 916 of file test_backend_endpoints.py.

◆ test_get_user_admin()

test_backend_endpoints.TestServer.test_get_user_admin ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 706 of file test_backend_endpoints.py.

◆ test_get_user_id_admin()

test_backend_endpoints.TestServer.test_get_user_id_admin ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 803 of file test_backend_endpoints.py.

◆ test_get_user_id_lambda()

test_backend_endpoints.TestServer.test_get_user_id_lambda ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 766 of file test_backend_endpoints.py.

◆ test_get_user_lambda()

test_backend_endpoints.TestServer.test_get_user_lambda ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 646 of file test_backend_endpoints.py.

◆ test_home()

test_backend_endpoints.TestServer.test_home ( self,
setup_environment )
 Test the / endpoint of the server. 

Definition at line 201 of file test_backend_endpoints.py.

◆ test_logout_user_admin()

test_backend_endpoints.TestServer.test_logout_user_admin ( self,
setup_environment )
_summary_
    Test the /logout endpoint of the server.

Args:
    setup_environment (_type_): _description_

Definition at line 879 of file test_backend_endpoints.py.

◆ test_logout_user_lambda()

test_backend_endpoints.TestServer.test_logout_user_lambda ( self,
setup_environment )
_summary_
    Test the /logout endpoint of the server.

Args:
    setup_environment (_type_): _description_

Definition at line 840 of file test_backend_endpoints.py.

◆ test_patch_user_admin_email()

test_backend_endpoints.TestServer.test_patch_user_admin_email ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 588 of file test_backend_endpoints.py.

◆ test_patch_user_admin_password()

test_backend_endpoints.TestServer.test_patch_user_admin_password ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 617 of file test_backend_endpoints.py.

◆ test_patch_user_admin_username()

test_backend_endpoints.TestServer.test_patch_user_admin_username ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 559 of file test_backend_endpoints.py.

◆ test_patch_user_lambda_email()

test_backend_endpoints.TestServer.test_patch_user_lambda_email ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 501 of file test_backend_endpoints.py.

◆ test_patch_user_lambda_password()

test_backend_endpoints.TestServer.test_patch_user_lambda_password ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 530 of file test_backend_endpoints.py.

◆ test_patch_user_lambda_username()

test_backend_endpoints.TestServer.test_patch_user_lambda_username ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 472 of file test_backend_endpoints.py.

◆ test_post_login_admin()

test_backend_endpoints.TestServer.test_post_login_admin ( self,
setup_environment )
_summary_
    Test the /login endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 371 of file test_backend_endpoints.py.

◆ test_post_login_lambda()

test_backend_endpoints.TestServer.test_post_login_lambda ( self,
setup_environment )
_summary_
    Test the /login endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 266 of file test_backend_endpoints.py.

◆ test_post_register_admin()

test_backend_endpoints.TestServer.test_post_register_admin ( self,
setup_environment )
_summary_
    Test the /register endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 305 of file test_backend_endpoints.py.

◆ test_post_register_lambda()

test_backend_endpoints.TestServer.test_post_register_lambda ( self,
setup_environment )
_summary_
    Test the /register endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 230 of file test_backend_endpoints.py.

◆ test_put_user_admin()

test_backend_endpoints.TestServer.test_put_user_admin ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 441 of file test_backend_endpoints.py.

◆ test_put_user_lambda()

test_backend_endpoints.TestServer.test_put_user_lambda ( self,
setup_environment )
_summary_
    Test the /user endpoint of the server.
Args:
    setup_environment (_type_): _description_

Definition at line 409 of file test_backend_endpoints.py.


The documentation for this class was generated from the following file: