From e43dfef65d91283dcb0d2d310ac992a68c24d350 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Thu, 31 Jan 2013 13:20:11 -0500 Subject: [PATCH] Adjusts start date of test algo gen to account for market dates. When date_gen changed to use market dates, the end of this env was run over by the date_gen. --- tests/test_algorithm_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_algorithm_gen.py b/tests/test_algorithm_gen.py index 0d92ce7e..9da2fbb0 100644 --- a/tests/test_algorithm_gen.py +++ b/tests/test_algorithm_gen.py @@ -86,7 +86,7 @@ class AlgorithmGeneratorTestCase(TestCase): """ algo = TestAlgo(self) trading_environment = factory.create_trading_environment( - start=datetime(2012, 1, 3, tzinfo=pytz.utc), + start=datetime(2011, 7, 30, tzinfo=pytz.utc), end=datetime(2012, 7, 30, tzinfo=pytz.utc) ) trade_source = factory.create_daily_trade_source(