There was no test that verified that the log message was generated
correctly when there was an exception from the xmlsec1 binary. The
test shows that the log message isn't generated correctly but
instead causes a TypeError to be raised.
The test__sign_assertion_fileutils_exc test is also enhanced to
verify that the error is logged correctly.
Reviewed: https:/ /review. openstack. org/212845 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=e16aa8e5e54 29ebbfb3d2086a2 2c8acc52c1b6cf
Committed: https:/
Submitter: Jenkins
Branch: master
commit e16aa8e5e5429eb bfb3d2086a22c8a cc52c1b6cf
Author: Brant Knudson <email address hidden>
Date: Thu Aug 13 18:30:28 2015 -0500
Enhance tests for saml2 signing exception logging
There was no test that verified that the log message was generated
correctly when there was an exception from the xmlsec1 binary. The
test shows that the log message isn't generated correctly but
instead causes a TypeError to be raised.
The test__sign_ assertion_ fileutils_ exc test is also enhanced to
verify that the error is logged correctly.
Change-Id: I5b7c22d27bad24 1339fdacae8b619 73d45d55d30
Partial-Bug: 1484735