(self, monkeypatch)
| 132 | assert result.stderr == b"" |
| 133 | |
| 134 | def test_no_env_uses_os_environ(self, monkeypatch): |
| 135 | monkeypatch.setenv("CZ_NO_ENV_TEST", "inherited") |
| 136 | result = cmd.run( |
| 137 | ["python", "-c", "import os; print(os.environ['CZ_NO_ENV_TEST'])"] |
| 138 | ) |
| 139 | assert "inherited" in result.out |
| 140 | |
| 141 | |
| 142 | class TestRunShell: |
nothing calls this directly
no outgoing calls
no test coverage detected