mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-09 11:19:23 +08:00
ENH: Replace update_asset_finder with write_data
The write_data methods invokes the relevant AssetDBWriter subclass to write data to the database. update_asset_finder is no longer a relevant method since the AssetFinder is strictly a reader class.
This commit is contained in:
@@ -66,9 +66,8 @@ class SecurityListTestCase(TestCase):
|
||||
self.trading_day_before_first_kd = datetime(
|
||||
2015, 1, 23, 0, 0, tzinfo=pytz.utc)
|
||||
|
||||
env.update_asset_finder(
|
||||
clear_metadata=True,
|
||||
identifiers=["BZQ", "URTY", "JFT", "AAPL", "GOOG"]
|
||||
env.write_data(
|
||||
equities_identifiers=["BZQ", "URTY", "JFT", "AAPL", "GOOG"]
|
||||
)
|
||||
|
||||
setup_logger(self)
|
||||
|
||||
Reference in New Issue
Block a user