0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-26 06:28:20 +02:00
synapse/tests/rest
Patrick Cloke 1182ae5063
Add helper to parse an enum from query args & use it. (#14956)
The `parse_enum` helper pulls an enum value from the query string
(by delegating down to the parse_string helper with values generated
from the enum).

This is used to pull out "f" and "b" in most places and then we thread
the resulting Direction enum throughout more code.
2023-02-01 21:35:24 +00:00
..
admin Add helper to parse an enum from query args & use it. (#14956) 2023-02-01 21:35:24 +00:00
client Add missing type hints in tests (#14879) 2023-01-26 14:45:24 -05:00
key Stop using deprecated keyIds param on /key/v2/server (#14525) 2022-11-30 11:59:57 +00:00
media Unescape HTML entities in oEmbed titles. (#14781) 2023-01-09 14:22:02 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_health.py Use literals in place of HTTPStatus constants in tests (#13463) 2022-08-05 16:59:09 +02:00
test_well_known.py Use literals in place of HTTPStatus constants in tests (#13463) 2022-08-05 16:59:09 +02:00