force `subprocess.run` to check return code is 0
Compare changes
+ 40
− 4
@@ -9,6 +9,35 @@ import pytest
@@ -31,18 +60,25 @@ def test_prepare_environment(tmp_path):
In general, this should help to capture unintentional errors.
Where the change has created failures, they have been fixed. (Mostly because the git repository that was looked for was missing.)