1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-28 10:28:32 +00:00
synapse/tests/storage
David Robertson 647ff3ef65
Remove unused room_alias field from /createRoom response ()
* 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
..
databases Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
util Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test__base.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_account_data.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_appservice.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_background_update.py Add type hints to tests files. () 2022-03-21 09:43:16 -04:00
test_base.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_cleanup_extrems.py Remove unused room_alias field from /createRoom response () 2023-02-22 11:07:28 +00:00
test_client_ips.py Revert the deletion of stale devices due to performance issues. () 2022-12-12 13:55:23 +00:00
test_database.py Make sqlite database migrations transactional again, part two () 2023-01-31 11:03:55 +00:00
test_devices.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_directory.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_e2e_room_keys.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_end_to_end_keys.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_event_chain.py Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
test_event_federation.py Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
test_event_metrics.py Remove unused room_alias field from /createRoom response () 2023-02-22 11:07:28 +00:00
test_event_push_actions.py Re-enable some linting () 2023-01-12 10:52:07 +00:00
test_events.py Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
test_id_generators.py Always notify replication when a stream advances () 2023-01-20 18:02:18 +00:00
test_keys.py Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
test_main.py Replace assertEquals and friends with non-deprecated versions. () 2022-02-28 07:12:29 -05:00
test_monthly_active_users.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_profile.py Replace assertEquals and friends with non-deprecated versions. () 2022-02-28 07:12:29 -05:00
test_purge.py Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
test_receipts.py Remove unused room_alias field from /createRoom response () 2023-02-22 11:07:28 +00:00
test_redaction.py Add a class UnpersistedEventContext to allow for the batching up of storing state groups () 2023-02-09 13:05:02 -08:00
test_registration.py Allow admins to require a manual approval process before new accounts can be used (using MSC3866) () 2022-09-29 15:23:24 +02:00
test_relations.py Accept threaded receipts for events related to the root event. () 2022-10-14 18:05:25 +00:00
test_rollback_worker.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_room.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_room_search.py Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
test_roommember.py Fix that user cannot /forget rooms after the last member has left () 2022-08-30 09:58:38 +00:00
test_state.py Add a class UnpersistedEventContext to allow for the batching up of storing state groups () 2023-02-09 13:05:02 -08:00
test_stream.py Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
test_transactions.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_txn_limit.py Require types in tests.storage. () 2022-12-09 12:36:32 -05:00
test_unsafe_locale.py Add final type hint to tests.unittest. () 2023-02-14 14:03:35 -05:00
test_user_directory.py 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. () 2023-02-20 12:00:18 +00:00