synapse/tests/rest/client
Erik Johnston 79fb64e417
Fix to-device being dropped in limited sync in SQLite. (#11966)
If ther are more than 100 to-device messages pending for a device
`/sync` will only return the first 100, however the next batch token was
incorrectly calculated and so all other pending messages would be
dropped.

This is due to `txn.rowcount` only returning the number of rows that
*changed*, rather than the number *selected* in SQLite.
2022-02-11 13:38:05 +00:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_account.py Use direct references for configuration variables (part 7). (#10959) 2021-10-04 07:18:54 -04:00
test_auth.py Use HTTPStatus constants in place of literals in tests.rest.client.test_auth. (#11520) 2021-12-08 14:54:47 +00:00
test_capabilities.py Support the stable API endpoint for MSC3283: new settings in /capabilities endpoint (#11933) 2022-02-11 09:32:11 +00:00
test_consent.py Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00:00
test_directory.py Test room alias deletion (#11327) 2021-11-12 19:56:00 +00:00
test_ephemeral_message.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_events.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_filter.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_groups.py Merge branch 'master' into develop 2021-08-31 14:09:48 +01:00
test_identity.py Use direct references for configuration variables (part 7). (#10959) 2021-10-04 07:18:54 -04:00
test_keys.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_login.py Add config for customizing the claim used for JWT logins. (#11361) 2021-11-22 13:01:03 -05:00
test_password_policy.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_power_levels.py Validate new m.room.power_levels events (#10232) 2021-08-26 17:07:58 +01:00
test_presence.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
test_profile.py Configurable limits on avatars (#11846) 2022-01-28 15:41:33 +01:00
test_push_rule_attrs.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_redactions.py Flatten the synapse.rest.client package (#10600) 2021-08-17 11:57:58 +00:00
test_register.py Stabilise MSC3231 (Token Based Registration) (#11867) 2022-02-04 12:15:13 +00:00
test_relations.py Support pagination tokens from /sync and /messages in the relations API. (#11952) 2022-02-10 10:52:48 -05:00
test_report_event.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_retention.py Bundle aggregations outside of the serialization method. (#11612) 2022-01-07 09:10:46 -05:00
test_room_batch.py Expose the registered device ID from the register_appservice_user test helper. (#11615) 2022-02-02 09:59:55 +00:00
test_rooms.py Support filtering by relations per MSC3440 (#11236) 2021-11-09 08:10:58 -05:00
test_sendtodevice.py Fix to-device being dropped in limited sync in SQLite. (#11966) 2022-02-11 13:38:05 +00:00
test_shadow_banned.py Add type hints for event streams. (#10856) 2021-09-21 13:34:26 -04:00
test_shared_rooms.py Flatten tests/rest/client/{v1,v2_alpha} too (#10667) 2021-08-20 17:50:44 +01:00
test_sync.py Add a unit test for users receiving their own device list updates (#11909) 2022-02-07 13:21:19 +00:00
test_third_party_rules.py Tests: replace mocked Authenticator with the real thing (#11913) 2022-02-11 12:06:02 +00:00
test_transactions.py Use mock from the stdlib. (#9772) 2021-04-09 13:44:38 -04:00
test_typing.py Add type hints for event streams. (#10856) 2021-09-21 13:34:26 -04:00
test_upgrade_room.py Handle room upgrades for spaces (#10774) 2021-09-10 07:30:05 -04:00
utils.py Allow specifying the application service-specific user_id parameter in the join test helper. (#11616) 2022-02-03 13:09:22 +00:00