TestInspectFunctions

class tests.general.test_inspect.TestInspectFunctions(methodName='runTest')[source]
__init__(methodName='runTest')

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

Methods

Methods

test_construct_dict_class()

Test construct_dict() with constructing a class using a dict

test_construct_dict_func()

Test construct_dict() with calling a function using a dict

test_function_params_class()

Test get_function_params() with a plain class without check_parents / merge

test_function_params_class_no_parents()

Test get_function_params() with an inherited class without check_parents / merge

test_function_params_class_parents()

Test get_function_params() with an inherited class using check_parents=True and merge=False

test_function_params_class_parents_merge()

Test get_function_params() with an inherited class using check_parents=True and merge=True

test_function_params_func()

Test get_function_params() with a normal function

Attributes

Attributes