summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2021-12-14 17:46:47 +0000
committerGitHub <noreply@github.com>2021-12-14 17:46:47 +0000
commitecfcd9bbbed62f8ca5d42bd8ba02b696e9079573 (patch)
tree953d3c342445153c29e8c1a2413abac8c82658b0 /tests/storage
parentAdd missing type hints to `synapse.logging.context` (#11556) (diff)
downloadsynapse-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.py4
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,