Closed damikael closed 11 months ago
the first exception is excplicit related to time data '' does not match format '%b %d %H:%M:%S %Y'
and should be handled in the SpidSpMetadataCheckExtra
, exactly here:
https://github.com/italia/spid-sp-test/blob/main/src/spid_sp_test/metadata_extra.py#L106C34-L106C34
I can review and approve a PR if possibile
the other exception is related to spid-compliant-certificates-python and it seems not related to me to the first issue, anyway we should patch the first one, doing tests and then move to spid-compliant-certificates-python if you agree
The second output is the expected. The problem is that when the command crashes due to unhandled exceptions the returned err code is null, as for success execution, so it cannot let to know if the command worked or failed.
PR merged @damikael
can you provide a check for absent datetime here? https://github.com/italia/spid-sp-test/issues/165#issuecomment-1780878658
we may release a new version with this I hope
When executed in a batch loop, sometimes, spid-sp-test crashes with the following output/error:
Instead the output when the command is executed out of the loop is: