From 9cbcf424b474f0d26cc8447dd0dd5e435bc1592c Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Thu, 5 Jul 2012 15:14:55 -0400 Subject: [PATCH] Update tests. --- tests/test_finance.py | 5 +++-- tests/test_transforms.py | 5 +++-- zipline/lines.py | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/test_finance.py b/tests/test_finance.py index 0f797b57..b9783471 100644 --- a/tests/test_finance.py +++ b/tests/test_finance.py @@ -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() diff --git a/tests/test_transforms.py b/tests/test_transforms.py index 04a434ea..f4d2f34f 100644 --- a/tests/test_transforms.py +++ b/tests/test_transforms.py @@ -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() diff --git a/zipline/lines.py b/zipline/lines.py index 94085258..54c7ab23 100644 --- a/zipline/lines.py +++ b/zipline/lines.py @@ -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: