summary refs log tree commit diff
path: root/tests/storage/test_end_to_end_keys.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+1
| | | | | During the migration the automated script to update the copyright headers accidentally got rid of some of the existing copyright lines. Reinstate them.
* Update license headersPatrick Cloke2023-11-211-10/+16
|
* Prepare unit tests for Python 3.12 (#16099)V024602023-08-251-3/+7
|
* Require types in tests.storage. (#14646)Patrick Cloke2022-12-091-5/+10
| | | | Adds missing type hints to `tests.storage` package and does not allow untyped definitions.
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Convert storage test cases to HomeserverTestCase. (#9736)Patrick Cloke2021-04-061-37/+22
|
* Rename `get_e2e_device_keys` to better reflect its purpose (#8205)Richard van der Hoff2020-08-291-3/+5
| | | | | | | | | | | ... and to show that it does something slightly different to `_get_e2e_device_keys_txn`. `include_all_devices` and `include_deleted_devices` were never used (and `include_deleted_devices` was broken, since that would cause `None`s in the result which were not handled in the loop below. Add some typing too.
* Do not yield on awaitables in tests. (#8193)Patrick Cloke2020-08-271-8/+24
|
* Convert devices database to async/await. (#8069)Patrick Cloke2020-08-121-7/+9
|
* Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users ↵Patrick Cloke2020-08-071-4/+8
| | | | database to async (#8042)
* make storage layer in charge of interpreting the device key dataHubert Chathi2019-10-101-6/+6
|
* Run Black. (#5482)Amber Brown2019-06-201-4/+4
|
* Run Black on the tests again (#5170)Amber Brown2019-05-101-1/+0
|
* Fix flake8 (#4519)Amber Brown2019-01-301-3/+0
|
* Add test to assert set_e2e_device_keys correctly returns False on no-opErik Johnston2018-11-081-0/+15
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-2/+1
|
* Run black.black2018-08-101-41/+20
|
* Fix unit testsErik Johnston2017-01-301-4/+4
|
* Fix unit testsErik Johnston2017-01-261-0/+17
|
* PEP8Richard van der Hoff2016-08-031-2/+0
|
* Include device name in /keys/query responseRichard van der Hoff2016-08-031-0/+92
Add an 'unsigned' section which includes the device display name.