test(header): assert every catalogue follows the palette gradient

This commit is contained in:
beefcarver committed 2026-11-14 09:34:53 -05:00
1 parent 6aac4f4085
commit 499f99113f
3 files changed
+33 -8

No files matched your search

+3 -1
View File
@@ -255,7 +255,9 @@ def test_provider_describes_its_catalogue() -> None:
assert provider.has_schedule is True
assert provider.bandcamp is False
assert len(provider.hero) == 3
assert "bright_cyan" in "".join(provider.hero)
# the header paints the wordmark with the palette gradient
assert provider.hero_gradient is True
assert "[" not in "".join(provider.hero)
assert provider.hero_lines == (
"BASSDRIVE",
"WORLDWIDE DRUM & BASS",