Helper-class to execute test in a specific target path.
More...
Helper-class to execute test in a specific target path.
Input
- rel_path_work_folder: String Relative path of the target dir from the calling script
- file_path: String Absolute path of the calling script
- add_to_path: Bool "False" (default) if no need to add the target dir to the path, "True" otherwise.
◆ __init__()
def KratosUnittest.WorkFolderScope.__init__ |
( |
|
self, |
|
|
|
rel_path_work_folder, |
|
|
|
file_path, |
|
|
|
add_to_path = False |
|
) |
| |
◆ __enter__()
def KratosUnittest.WorkFolderScope.__enter__ |
( |
|
self | ) |
|
◆ __exit__()
def KratosUnittest.WorkFolderScope.__exit__ |
( |
|
self, |
|
|
|
exc_type, |
|
|
|
exc_value, |
|
|
|
traceback |
|
) |
| |
◆ add_to_path
KratosUnittest.WorkFolderScope.add_to_path |
◆ currentPath
KratosUnittest.WorkFolderScope.currentPath |
◆ currentPythonpath
KratosUnittest.WorkFolderScope.currentPythonpath |
◆ scope
KratosUnittest.WorkFolderScope.scope |
The documentation for this class was generated from the following file:
- /home/runner/work/Documentation/Documentation/master/kratos/python_scripts/KratosUnittest.py