0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-13 19:53:28 +01:00
synapse/tests/rest/admin
Hillery Shay 5fca3c8ae6
Allow Synapse Admin API's Room Search to accept non-ASCII characters (#10859)
* add tests for checking if room search works with non-ascii char

* change encoding on parse_string to UTF-8

* lints

* properly encode search term

* lints

* add changelog file

* update changelog number

* set changelog entry filetype to .bugfix

* Revert "set changelog entry filetype to .bugfix"

This reverts commit be8e5a314251438ec4ec7dbc59ba32162c93e550.

* update changelog message and file type

* change parse_string default encoding back to ascii and update room search admin api calll to parse string

* refactor tests

* Update tests/rest/admin/test_room.py

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2021-09-21 08:04:35 -07:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_admin.py Create a constant for a small png image in tests. (#10834) 2021-09-16 12:01:14 -04:00
test_device.py Simplify tests for the device admin rest API. (#10664) 2021-08-20 15:43:26 +00:00
test_event_reports.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_media.py Create a constant for a small png image in tests. (#10834) 2021-09-16 12:01:14 -04:00
test_registration_tokens.py Implement MSC3231: Token authenticated registration (#10142) 2021-08-21 22:14:43 +01:00
test_room.py Allow Synapse Admin API's Room Search to accept non-ASCII characters (#10859) 2021-09-21 08:04:35 -07:00
test_server_notice.py Improve ServerNoticeServlet to avoid duplicate requests (#10679) 2021-08-27 09:16:40 +00:00
test_statistics.py Create a constant for a small png image in tests. (#10834) 2021-09-16 12:01:14 -04:00
test_user.py Create a constant for a small png image in tests. (#10834) 2021-09-16 12:01:14 -04:00
test_username_available.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00