Tweak tests to use allocator.

This commit is contained in:
Stephen Diehl
2012-02-22 12:48:37 -05:00
parent d39d7683a3
commit c8553f27d9
-20
View File
@@ -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.