Closed agrimpard closed 1 year ago
It would be good to update test_cas.py
with a test for this while we're at it!
@agrimpard Please sign-off on your changes.
Just did !
I'm looking into this /synapse/tests/handlers/test_cas.py
that i'm not familiar with ...
The changes made in #14978 for OIDC are similar, hopefully they'll lead you in the right direction?
This commit needs a review, i'm really not familliar with devops : https://github.com/matrix-org/synapse/pull/16262/commits/c42c8f639a7292f9fea4baaa4da549b98cb172c1
Help also welcome for this failing test : https://github.com/matrix-org/synapse/actions/runs/6096949144/job/16543605894
tests/handlers/test_cas.py:212: error: "CasHandlerTestCase" has no attribute "assertRenderedError" [attr-defined]
I assume that it retains the parameters added by the previous test test_required_attributes
, which asks for CAS attributes. How do I tell it that it should go back to the default configuration without the parameters from the previous test?
Even if the tests didn't fail, you'd really have to look closely at the test function added to the /synapse/tests/handlers/test_cas.py
file before merging. Again, I'm not comfortable with devops.
Thanks! 🎉
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.Signed-off-by: Aurélien Grimpard aurelien@grimpard.net
This PR is related to this issue : fixes #15775