Hi,
I have unit tests where I expect failures in the certificate verification inside the C core, e.g.,:
with self.assertRaises(...):
# do something that causes C core to log to stderr
pass
# I'd like to check the specific error messages, e.g.:
# assert 'some specific error message' in stderr
Is it at all possible to inspect the stderr in order to check that specific error messages are logged?
I see `src/python/grpcio_tests/tests/_runner.py` does the stdout/stderr capture, so I'm trying to look there, but any guidance is appreciated! e.g., "it's possible: look here," or "it will require a major change and/or won't be accepted" :)
Thanks!