forked from goodboy/tractor
1
0
Fork 0
tractor/tests
Tyler Goodlet 5fe3f58ea9 Add a `debug_mode: bool` fixture via `--tpdb` flag
Allows tests (including any `@tractor_test`s) to subscribe to a CLI flag
`--tpdb` (for "tractor python debugger") which the session can provide
to tests which can then proxy the value to `open_root_actor()` (via
`open_nursery()`) when booting the runtime - thus enabling our debug
mode globally to any subscribers B)

This is real handy if you have some failures but can't determine the
root issue without jumping into a `pdbp` REPL inside a (sub-)actor's
spawned-task.
2024-02-20 08:53:37 -05:00
..
conftest.py Add a `debug_mode: bool` fixture via `--tpdb` flag 2024-02-20 08:53:37 -05:00
test_2way.py Move context-streaming operational tests into one mod 2021-12-06 16:45:44 -05:00
test_advanced_faults.py Add a simplified zombie lord specific process reaping test 2023-01-29 14:55:02 -05:00
test_advanced_streaming.py Drop `ReceiveMsgStream` from test suite 2023-01-29 15:03:34 -05:00
test_cancellation.py Port all tests to new `reg_addr` fixture name 2023-10-18 15:39:20 -04:00
test_child_manages_service_nursery.py Port all tests to new `reg_addr` fixture name 2023-10-18 15:39:20 -04:00
test_clustering.py Fix cluster test to use `allow_overruns` 2023-05-15 10:00:45 -04:00
test_context_stream_semantics.py Adjust test details where `Context.cancel()` is called 2023-10-23 17:49:02 -04:00
test_debugger.py Get remaining suites passing.. 2023-10-19 11:51:47 -04:00
test_discovery.py Port all tests to new `reg_addr` fixture name 2023-10-18 15:39:20 -04:00
test_docs_examples.py Get remaining suites passing.. 2023-10-19 11:51:47 -04:00
test_infected_asyncio.py Fix `Context.result()` call to be in runtime scope 2023-10-23 17:48:34 -04:00
test_inter_peer_cancellation.py Tons of interpeer test cleanup 2023-10-25 15:21:41 -04:00
test_legacy_one_way_streaming.py Port all tests to new `reg_addr` fixture name 2023-10-18 15:39:20 -04:00
test_local.py Port all tests to new `reg_addr` fixture name 2023-10-18 15:39:20 -04:00
test_multi_program.py Port all tests to new `reg_addr` fixture name 2023-10-18 15:39:20 -04:00
test_pubsub.py Port all tests to new `reg_addr` fixture name 2023-10-18 15:39:20 -04:00
test_resource_cache.py Bump timeout on resource cache test a bitty bit. 2024-01-03 22:27:05 -05:00
test_rpc.py Get remaining suites passing.. 2023-10-19 11:51:47 -04:00
test_runtime.py Tolerate eg in runtime test teardown 2022-10-14 19:42:23 -04:00
test_shm.py Pass `str` dtype for `use_str` case 2023-06-15 12:20:20 -04:00
test_spawning.py Get remaining suites passing.. 2023-10-19 11:51:47 -04:00
test_task_broadcasting.py Port all tests to new `reg_addr` fixture name 2023-10-18 15:39:20 -04:00
test_trioisms.py Add a new "trioisms" test mod for tracking `trio` wishlist behaviour 2022-04-12 13:05:56 -04:00