diff --git a/tests/test_ems.py b/tests/test_ems.py index 4a9e4a4c..07e28c33 100644 --- a/tests/test_ems.py +++ b/tests/test_ems.py @@ -42,7 +42,7 @@ from piker.accounting import ( unpack_fqme, ) from piker.accounting import ( - open_pps, + open_account, Position, ) @@ -136,7 +136,7 @@ def load_and_check_pos( ) -> None: - with open_pps(ppmsg.broker, ppmsg.account) as table: + with open_account(ppmsg.broker, ppmsg.account) as table: if ppmsg.size == 0: assert ppmsg.symbol not in table.pps