Update tests.

This commit is contained in:
Stephen Diehl
2012-07-05 15:14:55 -04:00
parent c39267eff4
commit 9cbcf424b4
3 changed files with 7 additions and 5 deletions
+3 -2
View File
@@ -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()
+3 -2
View File
@@ -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
View File
@@ -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: