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

Functions

None test_pause (pytest.MonkeyPatch monkeypatch)
 
None test_set_lifespan ()
 
None test_generate_token ()
 
None test_check_date_correct ()
 
None test_check_date_incorrect_day ()
 
None test_check_date_incorrect_month ()
 
None test_check_date_incorrect_year ()
 
None test_check_incorrect_format ()
 
None test_check_token_generator ()
 
None test_check_token_generator_size_0 ()
 
None test_check_token_generator_size_negative_number ()
 
None test_check_token_generator_string_as_arg ()
 
None test_check_token_generator_size_floating_number ()
 
None test_check_token_generator_size_negative_floating_number ()
 

Variables

 ERROR = TCONST.ERROR
 
 DEBUG = TCONST.DEBUG
 
 SUCCESS = TCONST.SUCCESS
 
 RDI = RuntimeData(TCONST.SERVER_HOST, 5000, TCONST.PORT, ERROR, SUCCESS)
 
 app
 
 endpoints_initialised
 
 runtime_data
 
 success
 
 error
 
 debug
 
 database_link
 
 url
 
 port
 
 username
 
 password
 
 db_name
 
 BNHTTPI
 

Detailed Description

_summary_
    File in charge of testing the boilerplate Boilerplate non http class.

Function Documentation

◆ test_check_date_correct()

None test_boilerplate_non_http.test_check_date_correct ( )
_summary_
    Function in charge of testing the check date function with a correct date.

Definition at line 83 of file test_boilerplate_non_http.py.

◆ test_check_date_incorrect_day()

None test_boilerplate_non_http.test_check_date_incorrect_day ( )
_summary_
    Function in charge of testing the check date function with an incorrect date.

Definition at line 90 of file test_boilerplate_non_http.py.

◆ test_check_date_incorrect_month()

None test_boilerplate_non_http.test_check_date_incorrect_month ( )
_summary_
    Function in charge of testing the check date function with an incorrect date.

Definition at line 97 of file test_boilerplate_non_http.py.

◆ test_check_date_incorrect_year()

None test_boilerplate_non_http.test_check_date_incorrect_year ( )
_summary_
    Function in charge of testing the check date function with an incorrect date.

Definition at line 104 of file test_boilerplate_non_http.py.

◆ test_check_incorrect_format()

None test_boilerplate_non_http.test_check_incorrect_format ( )
_summary_
    Function in charge of testing the check date function with an incorrect date.

Definition at line 111 of file test_boilerplate_non_http.py.

◆ test_check_token_generator()

None test_boilerplate_non_http.test_check_token_generator ( )
_summary_
    Function in charge of testing the generate_check_token function with 4.

Definition at line 118 of file test_boilerplate_non_http.py.

◆ test_check_token_generator_size_0()

None test_boilerplate_non_http.test_check_token_generator_size_0 ( )
_summary_
    Function in charge of testing the generate_check_token function with 0.

Definition at line 128 of file test_boilerplate_non_http.py.

◆ test_check_token_generator_size_floating_number()

None test_boilerplate_non_http.test_check_token_generator_size_floating_number ( )
_summary_
    Function in charge of testing the generate_check_token function with a floating number.

Definition at line 158 of file test_boilerplate_non_http.py.

◆ test_check_token_generator_size_negative_floating_number()

None test_boilerplate_non_http.test_check_token_generator_size_negative_floating_number ( )
_summary_
    Function in charge of testing the generate_check_token function with a negative floating number.

Definition at line 168 of file test_boilerplate_non_http.py.

◆ test_check_token_generator_size_negative_number()

None test_boilerplate_non_http.test_check_token_generator_size_negative_number ( )
_summary_
    Function in charge of testing the generate_check_token function with a negative number.

Definition at line 138 of file test_boilerplate_non_http.py.

◆ test_check_token_generator_string_as_arg()

None test_boilerplate_non_http.test_check_token_generator_string_as_arg ( )
_summary_
    Function in charge of testing the generate_check_token function with a string.

Definition at line 148 of file test_boilerplate_non_http.py.

◆ test_generate_token()

None test_boilerplate_non_http.test_generate_token ( )
_summary_
    Function in charge of testing the generate token function.

Definition at line 73 of file test_boilerplate_non_http.py.

◆ test_pause()

None test_boilerplate_non_http.test_pause ( pytest.MonkeyPatch monkeypatch)
_summary_
    Function in charge of testing the pause function.

Definition at line 52 of file test_boilerplate_non_http.py.

◆ test_set_lifespan()

None test_boilerplate_non_http.test_set_lifespan ( )
_summary_
    Function in charge of testing the set lifespan function.

Definition at line 62 of file test_boilerplate_non_http.py.

Variable Documentation

◆ app

test_boilerplate_non_http.app

Definition at line 27 of file test_boilerplate_non_http.py.

◆ BNHTTPI

test_boilerplate_non_http.BNHTTPI
Initial value:
1= BoilerplateNonHTTP(
2 runtime_data_initialised=RDI,
3 success=SUCCESS,
4 error=ERROR,
5 debug=DEBUG
6)

Definition at line 44 of file test_boilerplate_non_http.py.

◆ database_link

test_boilerplate_non_http.database_link

Definition at line 34 of file test_boilerplate_non_http.py.

◆ db_name

test_boilerplate_non_http.db_name

Definition at line 39 of file test_boilerplate_non_http.py.

◆ DEBUG

test_boilerplate_non_http.DEBUG = TCONST.DEBUG

Definition at line 24 of file test_boilerplate_non_http.py.

◆ debug

test_boilerplate_non_http.debug

Definition at line 32 of file test_boilerplate_non_http.py.

◆ endpoints_initialised

test_boilerplate_non_http.endpoints_initialised

Definition at line 28 of file test_boilerplate_non_http.py.

◆ ERROR

test_boilerplate_non_http.ERROR = TCONST.ERROR

Definition at line 23 of file test_boilerplate_non_http.py.

◆ error

test_boilerplate_non_http.error

Definition at line 31 of file test_boilerplate_non_http.py.

◆ password

test_boilerplate_non_http.password

Definition at line 38 of file test_boilerplate_non_http.py.

◆ port

test_boilerplate_non_http.port

Definition at line 36 of file test_boilerplate_non_http.py.

◆ RDI

test_boilerplate_non_http.RDI = RuntimeData(TCONST.SERVER_HOST, 5000, TCONST.PORT, ERROR, SUCCESS)

Definition at line 26 of file test_boilerplate_non_http.py.

◆ runtime_data

test_boilerplate_non_http.runtime_data

Definition at line 29 of file test_boilerplate_non_http.py.

◆ SUCCESS

test_boilerplate_non_http.SUCCESS = TCONST.SUCCESS

Definition at line 25 of file test_boilerplate_non_http.py.

◆ success

test_boilerplate_non_http.success

Definition at line 30 of file test_boilerplate_non_http.py.

◆ url

test_boilerplate_non_http.url

Definition at line 35 of file test_boilerplate_non_http.py.

◆ username

test_boilerplate_non_http.username

Definition at line 37 of file test_boilerplate_non_http.py.