summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-10-23 14:28:05 -0400
committerGitHub <noreply@github.com>2023-10-23 14:28:05 -0400
commit3ab861ab9eaf54a336a5a900eeb8402c3e9ed811 (patch)
tree18d47ad957c59644aa4ec6881f5eab55f675cf8a /tests/handlers
parentFix bug where a new writer advances their token too quickly (#16473) (diff)
downloadsynapse-3ab861ab9eaf54a336a5a900eeb8402c3e9ed811.tar.xz
Fix type hint errors from Twisted trunk (#16526)
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_appservice.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/handlers/test_appservice.py b/tests/handlers/test_appservice.py
index 867dbd6001..c888d1ff01 100644
--- a/tests/handlers/test_appservice.py
+++ b/tests/handlers/test_appservice.py
@@ -156,6 +156,7 @@ class AppServiceHandlerTestCase(unittest.TestCase):
         result = self.successResultOf(
             defer.ensureDeferred(self.handler.query_room_alias_exists(room_alias))
         )
+        assert result is not None
 
         self.mock_as_api.query_alias.assert_called_once_with(
             interested_service, room_alias_str