wtools  3.3.1
ESO waf tools
wtools.config.pytest Class Reference

Static Public Member Functions

def configure_postload (cnf, requires, **kwargs)
 
def configure_preload (cnf, requires, **kwargs)
 

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: