but in the case of client succeeding unexpectedly (with pytest.raises()) you only get
E Failed: DID NOT RAISE <class 'test.client.ClientFail'>
This should really print at least the arguments (but for completeness maybe also stdout and stderr) to make it easier for client developers to reproduce.
A custom context manager like SigstoreClient.raises() might work.
If the client fails unexpectedly there's comprehensive debug output from SigstoreClient:
but in the case of client succeeding unexpectedly (
with pytest.raises()
) you only getThis should really print at least the arguments (but for completeness maybe also stdout and stderr) to make it easier for client developers to reproduce.
A custom context manager like
SigstoreClient.raises()
might work.