carputils
Doxygen code documentation for the python framework controlling openCARP
Functions | Variables
carputils.tests.conftest Namespace Reference

Functions

def pytest_configure (config)
 
def monodomain_run ()
 Path to the minimal monodomain experiment run script. More...
 
def bench_run ()
 Path to the minimal single-cell bench experiment run script. More...
 
def fake_electrodes_dir (tmp_path)
 Return a tmp_path whose isfile checks always pass via monkeypatching. More...
 
def quiet_cli (monkeypatch)
 Populate settings.cli, which several I/O helpers read before doing any work. More...
 

Variables

 RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')
 

Function Documentation

◆ bench_run()

def carputils.tests.conftest.bench_run ( )

Path to the minimal single-cell bench experiment run script.

◆ fake_electrodes_dir()

def carputils.tests.conftest.fake_electrodes_dir (   tmp_path)

Return a tmp_path whose isfile checks always pass via monkeypatching.

◆ monodomain_run()

def carputils.tests.conftest.monodomain_run ( )

Path to the minimal monodomain experiment run script.

◆ pytest_configure()

def carputils.tests.conftest.pytest_configure (   config)

◆ quiet_cli()

def carputils.tests.conftest.quiet_cli (   monkeypatch)

Populate settings.cli, which several I/O helpers read before doing any work.

Only the two fields those helpers touch are supplied, so the fixture stays usable with no settings.yaml on disk. The singleton is mutated in place, never reassigned.

Variable Documentation

◆ RESOURCES

carputils.tests.conftest.RESOURCES = os.path.join(os.path.dirname(__file__), 'resources')