test: drop unused binding in find_unused_tags test (ruff F841)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -162,7 +162,7 @@ def test_find_unused_tags_excludes_fandom_referenced_by_character(db_sync):
|
||||
fandom = _make_tag(db_sync, name="Creux", kind=TagKind.fandom)
|
||||
char = _make_tag(db_sync, name="OcChar", kind=TagKind.character)
|
||||
char.fandom_id = fandom.id
|
||||
orphan_fandom = _make_tag(db_sync, name="NobodysFandom", kind=TagKind.fandom)
|
||||
_make_tag(db_sync, name="NobodysFandom", kind=TagKind.fandom)
|
||||
db_sync.commit()
|
||||
|
||||
names = [t.name for t in cleanup_service.find_unused_tags(db_sync)]
|
||||
|
||||
Reference in New Issue
Block a user