tractor/tests/ipc
Gud Boi 2a96246a41 Add the interim `/tipc/` maddr grammar
`mk_maddr()`/`parse_maddr()` learn,

    /tipc/<stype>/<instance>/<scope>

mirroring how `uds` maps onto the spec-legal `/unix`.

XXX `str`-ONLY for now: there is no registered `/tipc` proto
in the multiaddr table (upstream track gh #483 +
multiformats/py-multiaddr#107) and `Multiaddr()` rejects an
unregistered name outright. `MsgTransport.maddr`s return type
is already `Multiaddr|str` (and `MsgpackUDSStream` already
exercises the `str` branch), so this fits — but it IS why gh

`parse_maddr()` therefore special-cases the `/tipc/` prefix
BEFORE handing anything to `Multiaddr()`.

Also drive the maddr mapping-table tests off `_address_types`
instead of a hardcoded len/dict so the next backend can't
fail them for the wrong reason.

(this patch was generated in some part by `claude-code` using `claude-opus-5` (`anthropic`))
2026-09-01 20:00:27 -04:00
..
__init__.py Start a very basic ipc-server unit test suite 2025-07-13 15:26:37 -04:00
test_channel_tunnel_boundary.py Move network APIs to lazy `tractor.net` 2026-09-01 18:10:53 -04:00
test_each_tpt.py Emit canonical tagged addresses 2026-09-01 15:47:28 -04:00
test_multi_tpt.py Add `enable_transports`/`registry_addrs` proto guard 2026-06-17 17:39:44 -04:00
test_server.py Add `Address.rebind_from_sockname` opt-out 2026-09-01 19:28:17 -04:00
test_server_tunnel_boundary.py Move network APIs to lazy `tractor.net` 2026-09-01 18:10:53 -04:00
test_tipc.py Add the interim `/tipc/` maddr grammar 2026-09-01 20:00:27 -04:00