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

Functions

def test_carp_monodomain_smoke (monkeypatch, tmp_path, monodomain_run)
 A 2x2x2 monodomain run completes and writes its transmembrane voltage. More...
 
def test_carp_generate_parfile (monkeypatch, tmp_path, monodomain_run)
 –generate-parfile collapses the options into a .par and runs off it. More...
 
def batch_cli (monkeypatch)
 Populate settings.cli for a batch platform so commands queue and serialise without executing. More...
 
def test_bash_command_serialisation (batch_cli)
 
def test_mpi_command_serialisation (batch_cli)
 
def test_bench_command_serialisation (batch_cli)
 

Variables

 pytestmark = pytest.mark.requires_simulator
 

Function Documentation

◆ batch_cli()

def carputils.tests.test_job_integration.batch_cli (   monkeypatch)

Populate settings.cli for a batch platform so commands queue and serialise without executing.

Built from the real parser defaults, overriding only the fields the serialisation path reads; the singleton is mutated, never reassigned.

◆ test_bash_command_serialisation()

def carputils.tests.test_job_integration.test_bash_command_serialisation (   batch_cli)

◆ test_bench_command_serialisation()

def carputils.tests.test_job_integration.test_bench_command_serialisation (   batch_cli)

◆ test_carp_generate_parfile()

def carputils.tests.test_job_integration.test_carp_generate_parfile (   monkeypatch,
  tmp_path,
  monodomain_run 
)

–generate-parfile collapses the options into a .par and runs off it.

◆ test_carp_monodomain_smoke()

def carputils.tests.test_job_integration.test_carp_monodomain_smoke (   monkeypatch,
  tmp_path,
  monodomain_run 
)

A 2x2x2 monodomain run completes and writes its transmembrane voltage.

◆ test_mpi_command_serialisation()

def carputils.tests.test_job_integration.test_mpi_command_serialisation (   batch_cli)

Variable Documentation

◆ pytestmark

carputils.tests.test_job_integration.pytestmark = pytest.mark.requires_simulator