tests/test_proxy_pair.py held 498 tests in 8,054 lines and took 892 s of every
pass that ran it, in one piece: half of the pass that runs every module of
tests/ (1,808 s on 2026-11-10), most of the coverage step that runs its files
one after the other (1,283 s), and the tail of the offline suite.
It is cut by class, each class copied line for line:
- tests/test_proxy_pair.py keeps the two boxes that serve two models, the
pair's pieces and the lane names (185 tests);
- tests/test_proxy_pair_inprocess.py has the same cases with the entry in the
test's process (58, and the check that this twin declares every case);
- tests/test_proxy_pair_one_model.py has the two boxes that serve one model (127);
- tests/test_proxy_pair_one_model_inprocess.py has its in-process cases (127,
and the same check for this twin);
- tests/pairbox.py is what they share and holds no test: the identities, the
fake engines, peers and cockpits, PairFixture.
A twin names its base class by its module: unittest runs every TestCase a
module names, so the class itself, imported, would run its cases a second
time. The check that each twin declares every case of its class is one test
in each twin's file where it was one test for both: 499 tests where there
were 498, every other one with the body it had (compared by the syntax tree,
method by method, before and after).
The coverage step of the root modules names the four files and runs its
files four at a time, the longest first.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>