KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
KratosUnittest.WorkFolderScope Class Reference

Helper-class to execute test in a specific target path. More...

Collaboration diagram for KratosUnittest.WorkFolderScope:

Public Member Functions

def __init__ (self, rel_path_work_folder, file_path, add_to_path=False)
 
def __enter__ (self)
 
def __exit__ (self, exc_type, exc_value, traceback)
 

Public Attributes

 currentPath
 
 add_to_path
 
 currentPythonpath
 
 scope
 

Detailed Description

Helper-class to execute test in a specific target path.

Input

Constructor & Destructor Documentation

◆ __init__()

def KratosUnittest.WorkFolderScope.__init__ (   self,
  rel_path_work_folder,
  file_path,
  add_to_path = False 
)

Member Function Documentation

◆ __enter__()

def KratosUnittest.WorkFolderScope.__enter__ (   self)

◆ __exit__()

def KratosUnittest.WorkFolderScope.__exit__ (   self,
  exc_type,
  exc_value,
  traceback 
)

Member Data Documentation

◆ 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: