forked from sass/tipibot
strings/ is split into domain submodules whose names are re-exported from strings/__init__.py. Adding a constant to a submodule and forgetting to re-export it - or shadowing a name across two submodules - would only surface as a runtime crash in a command. This test asserts every submodule __all__ entry is reachable as strings.NAME, that no name is defined twice, and that strings.__all__ matches the union of the submodules. Submodules are auto-discovered, so a new one is covered without editing the test. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
3.0 KiB
3.0 KiB