Clean up _ServiceQueuer

This commit is contained in:
Erik Johnston 2016-08-17 12:03:04 +01:00
parent 92d39126d7
commit 7321f45457
2 changed files with 28 additions and 29 deletions

View file

@ -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.