def setUp(self):
     self.output_queue = mock.Mock()
     self.unique_id = 1
     self.max_latency = 1.5
     self.stream = OrderStream(self.unique_id, self.output_queue,
                               self.max_latency, False)
Beispiel #2
0
 def setUp(self):
     self.listener = mock.Mock(order_updates_only=False)
     self.stream = OrderStream(self.listener, 123)
Beispiel #3
0
 def setUp(self):
     self.listener = mock.Mock()
     self.stream = OrderStream(self.listener, 123)
Beispiel #4
0
 def setUp(self):
     self.output_queue = mock.Mock()
     self.unique_id = 1
     self.stream = OrderStream(self.unique_id, self.output_queue)