Skip to content

Commit

Permalink
TST: Don't need to run base class as a test case
Browse files Browse the repository at this point in the history
  • Loading branch information
richafrank committed Feb 5, 2018
1 parent c6a64a9 commit 1e3d046
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/test_data_portal.py
Expand Up @@ -38,8 +38,7 @@


class DataPortalTestBase(WithDataPortal,
WithTradingSessions,
ZiplineTestCase):
WithTradingSessions):

ASSET_FINDER_EQUITY_SIDS = (1, 2, 3)
DIVIDEND_ASSET_SID = 3
Expand Down Expand Up @@ -578,11 +577,13 @@ def test_price_rounding(self, frequency, field):
assert_equal(result, expected_result)


class TestDataPortal(DataPortalTestBase):
class TestDataPortal(DataPortalTestBase,
ZiplineTestCase):
DATA_PORTAL_LAST_AVAILABLE_SESSION = None
DATA_PORTAL_LAST_AVAILABLE_MINUTE = None


class TestDataPortalExplicitLastAvailable(DataPortalTestBase):
class TestDataPortalExplicitLastAvailable(DataPortalTestBase,
ZiplineTestCase):
DATA_PORTAL_LAST_AVAILABLE_SESSION = alias('START_DATE')
DATA_PORTAL_LAST_AVAILABLE_MINUTE = alias('END_DATE')

0 comments on commit 1e3d046

Please sign in to comment.