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

Method init_instance_fixtures

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

Source from the content-addressed store, hash-verified

2407
2408class TestWrite(WithInstanceTmpDir, ZiplineTestCase):
2409 def init_instance_fixtures(self):
2410 super(TestWrite, self).init_instance_fixtures()
2411 self.assets_db_path = path = os.path.join(
2412 self.instance_tmpdir.path,
2413 'assets.db',
2414 )
2415 self.writer = AssetDBWriter(path)
2416
2417 def new_asset_finder(self):
2418 return AssetFinder(self.assets_db_path)

Callers 3

Calls 2

AssetDBWriterClass · 0.90
joinMethod · 0.80

Tested by

no test coverage detected