Test demo scripts in serial.
(path, name)
| 34 | @pytest.mark.serial |
| 35 | @pytest.mark.parametrize("path,name", demos) |
| 36 | def 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 |
nothing calls this directly
no outgoing calls
no test coverage detected