summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-12-04 16:56:25 +0000
committerMatthew Hodgson <matthew@matrix.org>2017-12-04 16:56:25 +0000
commit95f8a713dc614459421288188723fab79636c3b1 (patch)
tree06f8b2de585dbbef494b824fa5dbca6bc6c8afb8 /tests/handlers
parentfix pep8 and tests (diff)
downloadsynapse-95f8a713dc614459421288188723fab79636c3b1.tar.xz
erik told me to
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index dbe50383da..8c6815bcd8 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -58,7 +58,7 @@ class TypingNotificationsTestCase(unittest.TestCase):
 
         self.mock_federation_resource = MockHttpResource()
 
-        mock_notifier = Mock(spec=["on_new_event"])
+        mock_notifier = Mock()
         self.on_new_event = mock_notifier.on_new_event
 
         self.auth = Mock(spec=[])