livery.workshop.testing._import_probe¶
livery.workshop.testing._import_probe ¶
Import one module and print what its import registered, as JSON.
The conformance kit runs python -m livery.workshop.testing._import_probe
<module> in a process of its own, so the module is imported for the
first time. The workshop's own registering modules are imported before
the recording starts, so a builtin they register is never counted. Then
each of their registration functions records its calls, and footman's
task tree is captured, for the one import.
Functions:
| Name | Description |
|---|---|
registered_by |
What importing module registers, one line per registration. |
main |
Print what importing the module the first argument names registers. |
Attributes:
| Name | Type | Description |
|---|---|---|
REGISTRARS |
dict[str, tuple[str, ...]]
|
|
REGISTRARS
module-attribute
¶
REGISTRARS: dict[str, tuple[str, ...]] = {'livery.workshop._categories': ('register_channels',), 'livery.workshop._steps': ('register_step',), 'livery.workshop._points': ('contribute_job',)}
registered_by ¶
What importing module registers, one line per registration.