piker/tests
Tyler Goodlet 7447758cfe Prep service mngr for move to `tractor.hilevel`
Given it's a fairly simple yet useful abstraction, it makes sense to
offer this sub-sys alongside the core `tractor` runtime lib.

Without going into extreme detail on the impl changes (it'll come in
the commit that moves to the other repo) here is the high level summary:
------ - ------
- rename `Services` -> `ServiceMngr` and use an factory `@acm`
  to guarantee a single-instance-per-actor using a niche approach for a
  singleton object using a default keyword-arg B)
  - the mod level `open_service_mngr()` and `get_service_mngr()` are the
    new allocation/access API.
- add a `ServiceMngr.start_service()` method which does the work of both
  spawning a new subactor (for the daemon) and uses its portal to start
  the mngr side supervision task.
- open actor/task nurseries inside the `@acm` allocator.

Adjust other dependent subsystems to match:
------ - ------
- use `open_service_mngr()` when first allocated in `open_pikerd()`.
- use `get_service_mngr()` instead of importing the class ref inside
  `.service.maybe_spawn_daemon()`, `.brokers._daemon.spawn_brokerd()`
  and `.data._sampling.spawn_samplerd()` using a `partial` to pack in
  the endpoint ctx kwargs (unpacked inside `.start_service()` XD).
2024-06-21 16:00:22 -04:00
..
_inputs Add first account cumsize test; known to fail Bo 2023-07-14 17:54:13 -04:00
conftest.py Prep service mngr for move to `tractor.hilevel` 2024-06-21 16:00:22 -04:00
test_accounting.py Parametrize account names for offline ledger tests 2023-08-03 17:28:08 -04: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_ems.py Prep service mngr for move to `tractor.hilevel` 2024-06-21 16:00:22 -04:00
test_feeds.py Move tmpdir creation into separate fixture 2023-05-22 12:03:32 -04:00
test_questrade.py Move quest fixtures to test mod, clean out old travis fixture 2023-02-21 10:54:18 -05:00
test_services.py Prep service mngr for move to `tractor.hilevel` 2024-06-21 16:00:22 -04:00
test_watchlists.py Capture the right logger 2019-02-10 17:29:08 -05:00