mirror of
https://git.zavage.net/Zavage-Software/smileyface.git
synced 2026-06-25 18:12:48 -06:00
test: guard import smoke test against vacuous pass on empty walk
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1cf9a5e6c4
commit
6931e91391
@ -23,6 +23,8 @@ def test_all_submodules_import():
|
||||
)
|
||||
]
|
||||
|
||||
assert module_names, "walk_packages found no submodules - check smileyface.__path__"
|
||||
|
||||
for name in module_names:
|
||||
try:
|
||||
importlib.import_module(name)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user