forked from goodboy/tractor
Via a new accumulative `--tpt-proto` arg you can select which
`tpt_protos: list[str]`-fixture protocol keys will be delivered to
opting in tests!
B)
Also includes,
- CLI quote handling/stripping.
- default of 'tcp'.
- only support one selection per session at the moment (until we figure
out how we want to support multiples, either simultaneously or
sequentially).
- draft a (masked) dynamic-`metafunc` parametrization in the
`pytest_generate_tests()` hook.
- first proven and working use in the `test_advanced_faults`-suite (and
thus its underlying
`examples/advanced_faults/ipc_failure_during_stream.py` script)!
|_ actually needed this to prove that the suite only has 2 failures on
'uds' seemingly due to low-level `trio` error semantics translation
differences to do with with calling `socket.close()`..
On a very nearly related topic,
- draft an (also commented out) `set_script_runtime_args()` fixture idea
for a std way of `partial`-ling in runtime args to `examples/`
scripts-as-modules defining a `main()` which would proxy to
`tractor.open_nursery()`.
|
||
|---|---|---|
| .. | ||
| advanced_faults | ||
| debugging | ||
| integration | ||
| parallelism | ||
| __init__.py | ||
| __main__.py | ||
| a_trynamic_first_scene.py | ||
| actor_spawning_and_causality.py | ||
| actor_spawning_and_causality_with_daemon.py | ||
| asynchronous_generators.py | ||
| full_fledged_streaming_service.py | ||
| infected_asyncio_echo_server.py | ||
| multiple_streams_one_portal.py | ||
| quick_cluster.py | ||
| remote_error_propagation.py | ||
| rpc_bidir_streaming.py | ||
| service_discovery.py | ||