mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 23:44:45 +08:00
Tweak tests to use allocator.
This commit is contained in:
@@ -9,7 +9,6 @@ Test suite for the messaging infrastructure of QSim.
|
||||
#
|
||||
# nosetests --processes=5
|
||||
|
||||
import zipline.util as qutil
|
||||
import zipline.messaging as qmsg
|
||||
|
||||
from zipline.transforms.technical import MovingAverage
|
||||
@@ -21,25 +20,6 @@ from zipline.test.client import TestClient
|
||||
# it up as a test.
|
||||
class SimulatorTestCase(object):
|
||||
|
||||
def setUp(self):
|
||||
qutil.configure_logging()
|
||||
|
||||
"""
|
||||
Generate some config objects for the datafeed, sources, and transforms.
|
||||
"""
|
||||
|
||||
# TODO: new logic so we don't have to hardcode these
|
||||
self.addresses = {
|
||||
'sync_address' : "tcp://127.0.0.1:10100",
|
||||
'data_address' : "tcp://127.0.0.1:10101",
|
||||
'feed_address' : "tcp://127.0.0.1:10102",
|
||||
'merge_address' : "tcp://127.0.0.1:10103",
|
||||
'result_address' : "tcp://127.0.0.1:10104"
|
||||
}
|
||||
|
||||
# TODO: remove?
|
||||
self.addressesblarg = "test"
|
||||
|
||||
def get_simulator(self):
|
||||
"""
|
||||
Return the simulator instance to be tested.
|
||||
|
||||
Reference in New Issue
Block a user