piker/tests
Gud Boi fa98290808 Port service+tests to latest `tractor` APIs
Continue the `repair_tests`-branch mission (already merged
in this stack's ancestry, see f4c4f1e2 which ported
`conftest.py`) by fixing the remaining drift breakage vs.
`tractor` git `main`; without these NOTHING boots since the
`tractor.Address` port in 604e5fcf.

Deats,
- normalize reg addrs via `wrap_address()` in
  `open_pikerd()` before `.unwrap()`-ing; entries may be
  raw `tuple`s when passed in from (test) client code.
- port `check_for_service()` to `query_actor(regaddr=)`
  (was `arbiter_sockaddr=`) incl. its 2-tuple yield and
  the now-required `open_registry(addrs=)` arg.
- `wait_for_actor(registry_addr=)` + `.chan.raddr.unwrap()`
  raw-tuple compares in `test_runtime_boot` and
  `ensure_service()`.
- update `run_test_w_cancel_method()` for modern `tractor`
  cancel semantics: self-requested sub-service cancels are
  absorbed (no `ContextCancelled` raised to the opener) and
  single-exc groups collapse to a bare KBI.
- `RemoteActorError.boxed_type` (was `.type`) and
  `Position.cumsize` (was `.size`) renames in tests.
- bump the paper-EMS startup budget 9 -> 19s; it includes
  a live (kraken) symbology fetch so needs net headroom.
- woops, add the missing comma in `.deribit.api`'s
  `tractor.trionics` import tuple..

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-09 17:20:45 -04:00
..
_inputs Add first account cumsize test; known to fail Bo 2023-07-14 17:54:13 -04:00
conftest.py Update feed test fqmes to use `.<venue>` format 2026-03-24 20:21:29 -04:00
test_accounting.py Draft a gt-one-`.fqme`-in-txns/account-file test 2026-01-07 13:41:07 -05:00
test_cli.py Skip CLI tests due to questrade dependency for now 2021-05-22 15:12:12 -04:00
test_docker_services.py Skip marketstore docker tests, we're gonna drop it.. 2023-06-27 13:42:08 -04:00
test_dpi_font.py fixed spacing 2026-03-17 21:15:19 -04:00
test_ems.py Port service+tests to latest `tractor` APIs 2026-06-09 17:20:45 -04:00
test_feeds.py Update feed test fqmes to use `.<venue>` format 2026-03-24 20:21:29 -04:00
test_questrade.py Spurious first-draft of EG collapsing 2026-01-06 22:27:58 -05:00
test_services.py Port service+tests to latest `tractor` APIs 2026-06-09 17:20:45 -04:00
test_watchlists.py Capture the right logger 2019-02-10 17:29:08 -05:00