MCPcopy
hub / github.com/quantopian/zipline / init_instance_fixtures

Method init_instance_fixtures

tests/test_assets.py:2076–2079  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2074class TestAssetDBVersioning(ZiplineTestCase):
2075
2076 def init_instance_fixtures(self):
2077 super(TestAssetDBVersioning, self).init_instance_fixtures()
2078 self.engine = eng = self.enter_instance_context(empty_assets_db())
2079 self.metadata = sa.MetaData(eng, reflect=True)
2080
2081 def test_check_version(self):
2082 version_table = self.metadata.tables['version_info']

Callers

nothing calls this directly

Calls 3

empty_assets_dbFunction · 0.90

Tested by

no test coverage detected