Repair quote streaming test

kivy_mainline_and_py3.8
Tyler Goodlet 2018-11-11 21:59:41 -05:00
parent 773457ac91
commit ab8008ad61
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ async def rx_price_quotes_from_brokerd(us_symbols):
'brokerd', 'brokerd',
rpc_module_paths=['piker.brokers.core'], rpc_module_paths=['piker.brokers.core'],
statespace={ statespace={
'brokers2tickersubs': {}, 'broker2tickersubs': {},
'clients': {}, 'clients': {},
'dtasks': set() 'dtasks': set()
}, },
@ -31,9 +31,9 @@ async def rx_price_quotes_from_brokerd(us_symbols):
gen = await portal.run( gen = await portal.run(
'piker.brokers.core', 'piker.brokers.core',
'_test_price_stream', 'start_quote_stream',
broker='robinhood', broker='robinhood',
symbols=us_symbols, tickers=us_symbols,
) )
# it'd sure be nice to have an asyncitertools here... # it'd sure be nice to have an asyncitertools here...
async for quotes in gen: async for quotes in gen: