This PR solves an annoing problem that raises with faulty metadata.
The exception is handled but I noticed that in testenv.utils.saml_to_dict function the xmlstr passed by unit tests, sometimes is bytes and sometimes is '_io.TextIOWrapper' object.
not a code to be proud of but "it just works", consider me ready for your revision!
This PR solves an annoing problem that raises with faulty metadata.
The exception is handled but I noticed that in
testenv.utils.saml_to_dict
function the xmlstr passed by unit tests, sometimes is bytes and sometimes is '_io.TextIOWrapper' object.not a code to be proud of but "it just works", consider me ready for your revision!