MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / test_demos

Function test_demos

python/demo/test.py:36–39  ·  view source on GitHub ↗

Test demo scripts in serial.

(path, name)

Source from the content-addressed store, hash-verified

34@pytest.mark.serial
35@pytest.mark.parametrize("path,name", demos)
36def test_demos(path, name):
37 """Test demo scripts in serial."""
38 ret = subprocess.run([sys.executable, name], cwd=str(path), check=True)
39 assert ret.returncode == 0
40
41
42@pytest.mark.mpi

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected