synapse-product/tests
David Robertson 647ff3ef65
Remove unused room_alias field from /createRoom response (#15093)
* Change `create_room` return type

* Don't return room alias from /createRoom

* Update other callsites

* Fix up mypy complaints

It looks like new_room_user_id is None iff new_room_id is None. It's a
shame we haven't expressed this in a way that mypy can understand.

* Changelog
2023-02-22 11:07:28 +00:00
..
api Properly typecheck tests.api (#14983) 2023-02-03 20:03:23 +00:00
app Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
appservice Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00:00
config Add missing type hints to tests.config. (#14681) 2022-12-16 08:53:28 -05:00
crypto Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
events Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
federation Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
handlers Fix a bug introduced in Synapse v1.74.0 where searching with colons when using ICU for search term tokenisation would fail with an error. (#15079) 2023-02-20 12:00:18 +00:00
http Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00:00
logging Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
metrics Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
module_api Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
push Update intentional mentions (MSC3952) to depend on exact_event_match (MSC3758). (#15037) 2023-02-16 09:51:22 -05:00
replication Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
rest Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00:00
scripts Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
server_notices Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
state Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00
storage Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00:00
test_utils Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 2023-02-09 13:05:02 -08:00
types Allow selecting "prejoin" events by state keys (#14642) 2022-12-13 00:54:46 +00:00
util Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00:00
test_distributor.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_event_auth.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_federation.py Remove unused room_alias field from /createRoom response (#15093) 2023-02-22 11:07:28 +00:00
test_mau.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_phone_home.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_rust.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_server.py Respond with proper error responses on unknown paths. (#14621) 2022-12-08 11:37:05 -05:00
test_state.py Add missing types to test_state. (#14985) 2023-02-06 16:11:09 +00:00
test_terms_auth.py Proper types for tests.test_terms_auth (#15007) 2023-02-07 12:03:39 +00:00
test_test_utils.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_types.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_visibility.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
unittest.py Fix-up type hints in tests/server.py. (#15084) 2023-02-17 18:19:38 +00:00
utils.py Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00