diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2021-12-14 17:46:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-14 17:46:47 +0000 |
commit | ecfcd9bbbed62f8ca5d42bd8ba02b696e9079573 (patch) | |
tree | 953d3c342445153c29e8c1a2413abac8c82658b0 /tests/storage | |
parent | Add missing type hints to `synapse.logging.context` (#11556) (diff) | |
download | synapse-ecfcd9bbbed62f8ca5d42bd8ba02b696e9079573.tar.xz |
Add type hints to `synapse/storage/databases/main/e2e_room_keys.py` (#11549)
Diffstat (limited to 'tests/storage')
-rw-r--r-- | tests/storage/test_e2e_room_keys.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/storage/test_e2e_room_keys.py b/tests/storage/test_e2e_room_keys.py index 9b6b425425..7556171d8a 100644 --- a/tests/storage/test_e2e_room_keys.py +++ b/tests/storage/test_e2e_room_keys.py @@ -12,10 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +from synapse.storage.databases.main.e2e_room_keys import RoomKey + from tests import unittest # sample room_key data for use in the tests -room_key = { +room_key: RoomKey = { "first_message_index": 1, "forwarded_count": 1, "is_verified": False, |