From c26dc3530859c95918e5a6884ea6275389e5a9d5 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 2 Apr 2023 20:33:53 -0400 Subject: [PATCH] Adjust tests to `.clearing._client.OrderClient` type --- tests/conftest.py | 4 ++-- tests/test_services.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 3a0afba2..c783256f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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 diff --git a/tests/test_services.py b/tests/test_services.py index 29e613e3..082f629f 100644 --- a/tests/test_services.py +++ b/tests/test_services.py @@ -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]