Adjust tests to `.clearing._client.OrderClient` type
parent
8efb9ece61
commit
c26dc35308
|
@ -206,13 +206,13 @@ async def _open_test_pikerd_and_ems(
|
|||
@pytest.fixture
|
||||
def open_test_pikerd_and_ems(
|
||||
open_test_pikerd,
|
||||
fqsn: str = 'xbtusdt.kraken',
|
||||
fqme: str = 'xbtusdt.kraken',
|
||||
mode: str = 'paper',
|
||||
loglevel: str = 'info',
|
||||
):
|
||||
yield partial(
|
||||
_open_test_pikerd_and_ems,
|
||||
fqsn,
|
||||
fqme,
|
||||
mode,
|
||||
loglevel,
|
||||
open_test_pikerd
|
||||
|
|
|
@ -24,7 +24,7 @@ from piker.clearing._messages import (
|
|||
Status,
|
||||
)
|
||||
from piker.clearing._client import (
|
||||
OrderBook,
|
||||
OrderClient,
|
||||
)
|
||||
|
||||
|
||||
|
@ -121,7 +121,7 @@ def test_ensure_ems_in_paper_actors(
|
|||
async def main():
|
||||
|
||||
# type declares
|
||||
book: OrderBook
|
||||
book: OrderClient
|
||||
trades_stream: tractor.MsgStream
|
||||
pps: dict[str, list[BrokerdPosition]]
|
||||
accounts: list[str]
|
||||
|
|
Loading…
Reference in New Issue