diff --git a/src/pytest_ansible/molecule.py b/src/pytest_ansible/molecule.py index 66371a4..9e6d187 100644 --- a/src/pytest_ansible/molecule.py +++ b/src/pytest_ansible/molecule.py @@ -290,7 +290,7 @@ def test(self) -> subprocess.CompletedProcess: # type: ignore[type-arg] """ return subprocess.run( args=[sys.executable, "-m", "molecule", "test", "-s", self.name], - capture_output=False, + capture_output=True, check=False, cwd=self.parent_directory, shell=False,