Skip to content

Commit 8033a68

Browse files
justinchubyCopilot
andcommitted
test: clarify model coverage remediation
Point L2 coverage failures at the finalized model registration field now used by the checks, rather than implying every identifier must come from the legacy helper map. Co-authored-by: Copilot <[email protected]> Signed-off-by: justinchuby <[email protected]>
1 parent d49ced8 commit 8033a68

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/model_coverage_test.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def test_all_models_have_test_model_id_or_skip(self):
447447
f"test_model_id in _registry.py and are not in "
448448
f"_COVERAGE_SKIP:\n"
449449
+ "\n".join(f" {mt}" for mt in missing)
450-
+ "\n\nFix: add test_model_id to _TEST_MODEL_IDS "
450+
+ "\n\nFix: set test_model_id on the model registration "
451451
"in src/mobius/_registry.py."
452452
)
453453

@@ -459,8 +459,8 @@ def test_model_has_test_model_id(self, arch: str):
459459
if arch in _COVERAGE_SKIP:
460460
pytest.skip(_COVERAGE_SKIP[arch])
461461
pytest.fail(
462-
f"Model '{arch}' has no test_model_id in "
463-
f"_TEST_MODEL_IDS. Add one for L2 config validation."
462+
f"Model '{arch}' has no registered test_model_id. "
463+
"Set one in src/mobius/_registry.py for L2 config validation."
464464
)
465465

466466

0 commit comments

Comments
 (0)