tractor/tests
Tyler Goodlet 78fd2792c7 Rework IPC-using `test_caps_basesd_msging` tests
Namely renaming and massively simplifying it to a new
`test_ext_types_over_ipc` which avoids all the wacky "parent dictates
what sender should be able to send beforehand"..

Instead keep it simple and just always try to send the same small set of
types over the wire with expect-logic to handle each case,

- use the new `dec_hook`/`ext_types` args to `mk_[co]dec()` routines for
  pld-spec ipc transport.
- always try to stream a small set of types from the child with logic to
  handle the cases expected to error.

Other,
- draft a `test_pld_limiting_usage` to check runtime raising of bad API
  usage; haven't run it yet tho.
- move `test_custom_extension_types` to top of mod so that the
  `enc/dec_nsp()` hooks can be reffed from test parametrizations.
- comment out (and maybe remove) the old routines for
  `iter_maybe_sends`, `test_limit_msgspec`, `chk_pld_type`.

XXX TODO, turns out the 2 failing cases from this suite have exposed an
an actual bug with `MsgTypeError` unpacking where the `ipc_msg=` input
is being set to `None` ?? -> see the comment at the bottom of
`._exceptions._mk_recv_mte()` which seems to describe the likely
culprit?
2025-03-24 21:45:15 -04:00
..
devx Various test tweaks related to 3.13 egs 2025-03-24 21:44:59 -04:00
__init__.py Add `tests/__init__.py` for `.conftest` imports 2025-03-20 20:53:54 -04:00
conftest.py Add (masked) meta-debug-fixture for determining if `debug_mode` is set in harness.. 2025-03-24 21:44:59 -04:00
test_2way.py Move context-streaming operational tests into one mod 2021-12-06 16:45:44 -05:00
test_advanced_faults.py Another couple loose-ifies for discovery and advanced fault suites 2025-03-24 21:44:59 -04:00
test_advanced_streaming.py Various test tweaks related to 3.13 egs 2025-03-24 21:44:59 -04:00
test_cancellation.py Various test tweaks related to 3.13 egs 2025-03-24 21:44:59 -04:00
test_caps_based_msging.py Rework IPC-using `test_caps_basesd_msging` tests 2025-03-24 21:45:15 -04:00
test_child_manages_service_nursery.py Various test tweaks related to 3.13 egs 2025-03-24 21:44:59 -04:00
test_clustering.py Add (back) a `tractor._testing` sub-pkg 2025-03-16 15:28:28 -04:00
test_context_stream_semantics.py Change `tractor.breakpoint()` to new `.pause()` in test suite 2025-03-24 15:37:12 -04:00
test_discovery.py Another couple loose-ifies for discovery and advanced fault suites 2025-03-24 21:44:59 -04:00
test_docs_examples.py Fix docs tests with yet another loosie-goosie 2025-03-24 21:44:59 -04:00
test_infected_asyncio.py Be extra sure to re-raise EoCs from translator 2025-03-24 15:37:12 -04:00
test_inter_peer_cancellation.py Another `is` fix.. 2025-03-24 15:37:12 -04:00
test_legacy_one_way_streaming.py Reapply "Port all tests to new `reg_addr` fixture name" 2025-03-20 19:50:31 -04:00
test_local.py Finally implement peer-lookup optimization.. 2025-03-24 14:04:52 -04:00
test_multi_program.py Finally implement peer-lookup optimization.. 2025-03-24 14:04:52 -04:00
test_pldrx_limiting.py Update `MsgTypeError` content matching to latest 2025-03-24 14:04:52 -04:00
test_pubsub.py Reapply "Port all tests to new `reg_addr` fixture name" 2025-03-20 19:50:31 -04:00
test_resource_cache.py Bump timeout on resource cache test a bitty bit. 2025-03-14 14:14:53 -04:00
test_root_infect_asyncio.py Be extra sure to re-raise EoCs from translator 2025-03-24 15:37:12 -04:00
test_rpc.py Adjust all `RemoteActorError.type` using tests 2025-03-20 20:35:02 -04:00
test_runtime.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
test_spawning.py Update tests for `PldRx` and `Context` changes 2025-03-24 14:04:51 -04:00
test_task_broadcasting.py Use `collapse_eg()` in broadcaster suite 2025-03-24 21:44:59 -04:00
test_trioisms.py Another loosie in the trioisms suite 2025-03-24 21:44:59 -04:00