TST: move test_utils and adds test fixture classes

Renames zipline.utils.test_utils to zipline.testing

Adds zipline.testing.fixtures.ZiplineTestCase to manage setup and
teardown and adds mixins to define fixtures like an asset finder or
trading calendar.
This commit is contained in:
Joe Jevnik
2016-03-10 15:39:52 -05:00
parent 328d449e60
commit 721dd36116
34 changed files with 727 additions and 146 deletions
+1 -3
View File
@@ -39,9 +39,7 @@ from zipline.data.us_equity_pricing import (
)
from zipline.finance.trading import TradingEnvironment
from zipline.pipeline.data import USEquityPricing
from zipline.utils.test_utils import (
seconds_to_timestamp,
)
from zipline.testing import seconds_to_timestamp
TEST_CALENDAR_START = Timestamp('2015-06-01', tz='UTC')
TEST_CALENDAR_STOP = Timestamp('2015-06-30', tz='UTC')