mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-12 12:12:04 +08:00
BLD: enhancing registration features
This commit is contained in:
@@ -16,20 +16,12 @@ class TestMarketplace(WithLogger, ZiplineTestCase):
|
|||||||
|
|
||||||
def test_subscribe(self):
|
def test_subscribe(self):
|
||||||
marketplace = Marketplace()
|
marketplace = Marketplace()
|
||||||
marketplace.subscribe('Victor2')
|
marketplace.subscribe('marketcap1')
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def test_ingest(self):
|
def test_ingest(self):
|
||||||
marketplace = Marketplace()
|
marketplace = Marketplace()
|
||||||
ds_def = marketplace.ingest('Victor2')
|
ds_def = marketplace.ingest('marketcap1')
|
||||||
pass
|
|
||||||
|
|
||||||
marketplace.ingest(
|
|
||||||
data_source_name='Marketcap',
|
|
||||||
data_frequency=ds_def['data_frequencies'][0],
|
|
||||||
start=pd.to_datetime('2017-10-01'),
|
|
||||||
force_download=True,
|
|
||||||
)
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def test_publish(self):
|
def test_publish(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user