Conditions | 1 |
Total Lines | 8 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | from yfrake import client |
||
25 | async def test_client_response_2(): |
||
26 | @client.session |
||
27 | async def inner(): |
||
28 | resp = client.get(endpoint='quote_type', symbol='msft') |
||
29 | await resp.wait() |
||
30 | assert isinstance(resp.event, asyncio.Event) |
||
31 | assert isinstance(resp.future, asyncio.Task) |
||
32 | await inner() |
||
33 | |||
46 |