(self)
| 87 | assert "cmd.run()" in str(w[0].message) |
| 88 | |
| 89 | def test_stdout_captured(self): |
| 90 | result = cmd.run(["python", "-c", "print('hello')"]) |
| 91 | assert "hello" in result.out |
| 92 | assert isinstance(result.stdout, bytes) |
| 93 | assert b"hello" in result.stdout |
| 94 | |
| 95 | def test_stderr_captured(self): |
| 96 | result = cmd.run( |
nothing calls this directly
no outgoing calls
no test coverage detected