wtools
ESO waf tools
 All Classes Namespaces Functions Pages
wtools.config.pytest Class Reference

Static Public Member Functions

def configure_postload
 
def configure_preload
 

Static Public Attributes

list requires = ['python']
 
list tools = ['pytest', 'waf_unit_test', 'buildcopy']
 

Detailed Description

Provides support for Python pytest testing framework.

   With regards to ESO ELT module structure for Python Program there is a limitation with PyTest
   as there cannot be two same named namespaces (ie. the program and the same named program package).
   In such cases the auto_pyunit will remove the program script from the tests issuing a warning to
   the user.
   See also: https://docs.pytest.org/en/latest/pythonpath.html
   and: https://github.com/pytest-dev/pytest/issues/3151

The documentation for this class was generated from the following file: