.. _f-utilstestsprivate: module ``pycode.utils_tests_private`` ===================================== Short summary +++++++++++++ module ``pyquickhelper.pycode.utils_tests_private`` This extension contains various functionalities to help unittesting. :githublink:`%|py|5` Functions +++++++++ +------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +================================================================================================+========================================================================================================================+ | :func:`clean ` | Does the cleaning. | +------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`default_skip_function ` | Default skip function for function :func:`main_wrapper_tests`. | +------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`get_estimation_time ` | Return an estimation of the processing time, it extracts the number in ``(time=5s)`` for example. | +------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`get_test_file ` | Returns the list of test files. | +------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`import_files ` | Runs all tests in file list ``li``. | +------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`is_valid_error ` | Checks if the text written on stderr is an error or not, a local server can push logs on this stream, it looks for ... | +------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :func:`main_run_test ` | Runs all unit tests, the function looks into the folder _unittest and extract from all files beginning by `test_` ... | +------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyquickhelper.pycode.utils_tests_private :members: :special-members: __init__ :show-inheritance: