summary refs log tree commit diff
path: root/tests/appservice/test_scheduler.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-17 12:03:04 +0100
committerErik Johnston <erik@matrix.org>2016-08-17 12:03:04 +0100
commit7321f45457daec80439423e6f4f44184a345c2b3 (patch)
tree0e97443b56a500691019eb83c0ca109a57ce47b9 /tests/appservice/test_scheduler.py
parentMerge pull request #1017 from matrix-org/erikj/appservice_measure (diff)
downloadsynapse-7321f45457daec80439423e6f4f44184a345c2b3.tar.xz
Clean up _ServiceQueuer
Diffstat (limited to 'tests/appservice/test_scheduler.py')
-rw-r--r--tests/appservice/test_scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/appservice/test_scheduler.py b/tests/appservice/test_scheduler.py
index 631a229332..e5a902f734 100644
--- a/tests/appservice/test_scheduler.py
+++ b/tests/appservice/test_scheduler.py
@@ -193,7 +193,7 @@ class ApplicationServiceSchedulerQueuerTestCase(unittest.TestCase):
 
     def setUp(self):
         self.txn_ctrl = Mock()
-        self.queuer = _ServiceQueuer(self.txn_ctrl)
+        self.queuer = _ServiceQueuer(self.txn_ctrl, MockClock())
 
     def test_send_single_event_no_queue(self):
         # Expect the event to be sent immediately.