Adjust tests to `.clearing._client.OrderClient` type

rekt_pps
Tyler Goodlet 2023-04-02 20:33:53 -04:00
parent 56cd15fa51
commit 96006b2422
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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]