diff options
author | Florian Klink <flokli@flokli.de> | 2025-05-05 13:09:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-05 10:09:39 +0000 |
commit | c9adbc6a1ce6039b1c04ae3298e463a3e3b25c38 (patch) | |
tree | 1178ca9ab4866887b4d8df213c8087868596ea02 /scripts-dev/mypy_synapse_plugin.py | |
parent | Return specific error code when email / phone not supported (#17578) (diff) | |
download | synapse-c9adbc6a1ce6039b1c04ae3298e463a3e3b25c38.tar.xz |
make tests tolerant to authlib 1.5.2 error messages (#18390)
authlib 1.5.2 now single-quotes error messages in the claims, causing three tests to fail. Replace the comparison with a regex that accepts both single or double quotes. This succeeds the tests with both authlib 1.5.1 and 1.5.2. See https://github.com/NixOS/nixpkgs/pull/402797 for context. ### Pull Request Checklist <!-- Please read https://element-hq.github.io/synapse/latest/development/contributing_guide.html before submitting your pull request --> * [x] Pull request is based on the develop branch * [x] Pull request includes a [changelog file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog). The entry should: - Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from `EventStore` to `EventWorkerStore`.". - Use markdown where necessary, mostly for `code blocks`. - End with either a period (.) or an exclamation mark (!). - Start with a capital letter. - Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry. * [x] [Code style](https://element-hq.github.io/synapse/latest/code_style.html) is correct (run the [linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters))
Diffstat (limited to 'scripts-dev/mypy_synapse_plugin.py')
0 files changed, 0 insertions, 0 deletions