fix(tests): test_theme_count 15 -> 16 (theme spark ajoute en 2.80.2)

This commit is contained in:
2026-10-28 08:25:35 -04:00
parent 3a42bc034d
commit be05ec99b5
+3 -3
View File
@@ -2,7 +2,7 @@
Validates:
- Theme JSON structure validity
- All 15 built-in themes have required keys and valid CSS colors
- All 16 built-in themes have required keys and valid CSS colors
- High-contrast and sepia mode generators produce valid CSS vars
- Import/export round-trip
- AVAILABLE_MODES includes all 4 modes
@@ -80,9 +80,9 @@ class TestThemeStructure:
assert '_genSepia' in self.content
def test_theme_count(self):
"""Should have 15 built-in themes."""
"""Should have 16 built-in themes."""
names = _extract_theme_names(self.content)
assert len(names) == 15, f"Expected 15 themes, found {len(names)}: {names}"
assert len(names) == 16, f"Expected 16 themes, found {len(names)}: {names}"
def test_required_export_functions(self):
"""All required functions should be exported."""