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

Functions

None test_create_scope ()
 
None test_add_variable ()
 
None test_update_variable ()
 
None test_insert_or_update_variable ()
 
None test_has_variable ()
 
None test_get_variable ()
 
None test_get_variables ()
 
None test_get_variable_type ()
 
None test_remove_variable ()
 
None test_remove_variables_different_types ()
 
None test_clear_variables_default_scope ()
 
None test_clear_variables_custom_scope ()
 
None test_clear_variables_all_scopes ()
 
None test_clear_scopes ()
 
None test_clear_scope_contents ()
 
None test_remove_scope ()
 
None test_sanitize_for_json ()
 

Variables

 ERROR = TCONST.ERROR
 
 SUCCESS = TCONST.SUCCESS
 
 DEBUG = TCONST.DEBUG
 
str SCOPE = "test_scope"
 
 VI
 

Detailed Description

_summary_
    File in charge of testing the variables class

Function Documentation

◆ test_add_variable()

None test_actions_variables.test_add_variable ( )
_summary_
    Function in charge of testing the add_variable function.

Definition at line 47 of file test_actions_variables.py.

◆ test_clear_scope_contents()

None test_actions_variables.test_clear_scope_contents ( )
_summary_
    Function in charge of testing the clear_scope_contents function.

Definition at line 350 of file test_actions_variables.py.

◆ test_clear_scopes()

None test_actions_variables.test_clear_scopes ( )
_summary_
    Function in charge of testing the clear_scopes function.

Definition at line 328 of file test_actions_variables.py.

◆ test_clear_variables_all_scopes()

None test_actions_variables.test_clear_variables_all_scopes ( )
_summary_
    Function in charge of testing the clear_variables function with the * argument.

Definition at line 305 of file test_actions_variables.py.

◆ test_clear_variables_custom_scope()

None test_actions_variables.test_clear_variables_custom_scope ( )
_summary_
    Function in charge of testing the clear_variables function with the SCOPE variable.

Definition at line 280 of file test_actions_variables.py.

◆ test_clear_variables_default_scope()

None test_actions_variables.test_clear_variables_default_scope ( )
_summary_
    Function in charge of testing the clear_variables function with the "default_scope" variable.

Definition at line 255 of file test_actions_variables.py.

◆ test_create_scope()

None test_actions_variables.test_create_scope ( )
_summary_
    Function in charge of testing the one that will create scopes in the variable class.

Definition at line 37 of file test_actions_variables.py.

◆ test_get_variable()

None test_actions_variables.test_get_variable ( )
_summary_
    Function in charge of testing the get_variable function.

Definition at line 160 of file test_actions_variables.py.

◆ test_get_variable_type()

None test_actions_variables.test_get_variable_type ( )
_summary_
    Function in charge of testing the get_variable_type function.

Definition at line 194 of file test_actions_variables.py.

◆ test_get_variables()

None test_actions_variables.test_get_variables ( )
_summary_
    Function in charge of testing the get_variables function.

Definition at line 178 of file test_actions_variables.py.

◆ test_has_variable()

None test_actions_variables.test_has_variable ( )
_summary_
    Function in charge of testing the has_variable function.

Definition at line 138 of file test_actions_variables.py.

◆ test_insert_or_update_variable()

None test_actions_variables.test_insert_or_update_variable ( )
_summary_
    Function in charge of testing the insert_or_update function.

Definition at line 97 of file test_actions_variables.py.

◆ test_remove_scope()

None test_actions_variables.test_remove_scope ( )
_summary_
    Function in charge of testing the remove_scope function.

Definition at line 373 of file test_actions_variables.py.

◆ test_remove_variable()

None test_actions_variables.test_remove_variable ( )
_summary_
    Function in charge of testing the remove_variable function.

Definition at line 212 of file test_actions_variables.py.

◆ test_remove_variables_different_types()

None test_actions_variables.test_remove_variables_different_types ( )
_summary_
    Function in charge of testing the remove_variable function with different types.

Definition at line 236 of file test_actions_variables.py.

◆ test_sanitize_for_json()

None test_actions_variables.test_sanitize_for_json ( )
_summary_
    Function in charge of testing the sanitize_for_json function.

Definition at line 402 of file test_actions_variables.py.

◆ test_update_variable()

None test_actions_variables.test_update_variable ( )
_summary_
    Function in charge of testing the update_variable function.

Definition at line 62 of file test_actions_variables.py.

Variable Documentation

◆ DEBUG

test_actions_variables.DEBUG = TCONST.DEBUG

Definition at line 26 of file test_actions_variables.py.

◆ ERROR

test_actions_variables.ERROR = TCONST.ERROR

Definition at line 24 of file test_actions_variables.py.

◆ SCOPE

str test_actions_variables.SCOPE = "test_scope"

Definition at line 28 of file test_actions_variables.py.

◆ SUCCESS

test_actions_variables.SUCCESS = TCONST.SUCCESS

Definition at line 25 of file test_actions_variables.py.

◆ VI

test_actions_variables.VI
Initial value:
1= Variables(
2 success=SUCCESS,
3 error=ERROR,
4 debug=DEBUG
5)

Definition at line 30 of file test_actions_variables.py.