diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-17 11:22:11 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-17 11:22:11 +0100 |
commit | b835ebcc79ab51d4f52333ab0639a3ffff317b9a (patch) | |
tree | 0cd796afb2df09502471435c77ff772485474045 /tests | |
parent | Measure notify_interested_services (diff) | |
download | synapse-b835ebcc79ab51d4f52333ab0639a3ffff317b9a.tar.xz |
Update unit tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handlers/test_appservice.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/handlers/test_appservice.py b/tests/handlers/test_appservice.py index a884c95f8d..3116951472 100644 --- a/tests/handlers/test_appservice.py +++ b/tests/handlers/test_appservice.py @@ -15,6 +15,7 @@ from twisted.internet import defer from .. import unittest +from tests.utils import MockClock from synapse.handlers.appservice import ApplicationServicesHandler @@ -32,6 +33,7 @@ class AppServiceHandlerTestCase(unittest.TestCase): hs.get_datastore = Mock(return_value=self.mock_store) hs.get_application_service_api = Mock(return_value=self.mock_as_api) hs.get_application_service_scheduler = Mock(return_value=self.mock_scheduler) + hs.get_clock.return_value = MockClock() self.handler = ApplicationServicesHandler(hs) @defer.inlineCallbacks |