Clarify diagnostic language and explanations

This commit is contained in:
Philip Guzman
2026-07-01 08:37:18 -07:00
parent ce37b45058
commit fb3d70e579
10 changed files with 86 additions and 12 deletions
+6
View File
@@ -23,6 +23,8 @@ def test_web_analysis_uses_production_health_pipeline(tmp_path):
assert result["smart_crates"] == 2
assert result["database_entries"] == 10
assert result["database_library_matches"] == 10
assert result["database_missing_paths"] == 0
assert result["database_missing_unique_filenames"] == 0
assert result["tracks_missing_from_database"] == 0
@@ -36,3 +38,7 @@ def test_web_static_assets_are_declared_and_packaged():
assert set(STATIC_FILES) == {"/", "/app.css", "/app.js"}
assert all((asset_root / filename).is_file() for filename, _ in STATIC_FILES.values())
html = (asset_root / "index.html").read_text(encoding="utf-8")
assert "Missing tracks in Serato" in html
assert "Old crate references" in html
assert html.count('class="info-button"') >= 10