From 9e19c081b0f0651e4fd61043d2f6d2049139c162 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 26 May 2026 21:23:12 -0400 Subject: [PATCH] fix(test): pin tag_kind enum test to the post-0023 set (meta + rating removed) Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/test_migration_0002.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_migration_0002.py b/tests/test_migration_0002.py index 6b8d13c..1786731 100644 --- a/tests/test_migration_0002.py +++ b/tests/test_migration_0002.py @@ -25,6 +25,10 @@ def test_tag_has_kind_and_fandom_id(): def test_tag_kind_enum_values(): + # Current TagKind enum after alembic 0023 dropped meta + rating + # (operator-retired 2026-05-26). `artist` is still in the enum + # for backward-compat with historical rows, though new artist + # tags don't get created (Artist row is canonical per FC-2d-vii-c). expected = { "artist", "character", @@ -33,8 +37,6 @@ def test_tag_kind_enum_values(): "series", "archive", "post", - "meta", - "rating", } assert {k.value for k in TagKind} == expected