mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 16:17:02 +08:00
Update tests.
This commit is contained in:
@@ -33,8 +33,9 @@ class FinanceTestCase(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.zipline_test_config = {
|
||||
'allocator':allocator,
|
||||
'sid':133
|
||||
'allocator' : allocator,
|
||||
'sid' : 133,
|
||||
'devel' : True
|
||||
}
|
||||
self.log_handler = LoggingHandler()
|
||||
self.log_handler.push_application()
|
||||
|
||||
@@ -21,8 +21,9 @@ class ZiplineWithTransformsTestCase(TestCase):
|
||||
allocator.lease(100)
|
||||
self.trading_environment = factory.create_trading_environment()
|
||||
self.zipline_test_config = {
|
||||
'allocator':allocator,
|
||||
'sid':133
|
||||
'allocator' : allocator,
|
||||
'sid' : 133,
|
||||
'devel' : True
|
||||
}
|
||||
self.log_handler = LoggingHandler()
|
||||
self.log_handler.push_application()
|
||||
|
||||
+1
-1
@@ -397,7 +397,7 @@ class SimulatedTrading(object):
|
||||
log.debug('Blocking')
|
||||
for thread in self.sim.subthreads:
|
||||
log.debug('Waiting on %r' % thread)
|
||||
print 'Waiting on %r' % thread
|
||||
#print 'Waiting on %r' % thread
|
||||
thread.join()
|
||||
else:
|
||||
for process in self.sim.subprocesses:
|
||||
|
||||
Reference in New Issue
Block a user