ComfyUI/tests-unit/assets_test
Luke Mino-Altherr fb2e70cfba Fix missing tag count for is_missing references and update test for total_tags field
- Allow is_missing=True references to be counted in list_tags_with_usage
  when the tag is 'missing', so the missing tag count reflects all
  references that have been tagged as missing
- Add update_is_missing_by_asset_id query helper for bulk updates by asset
- Update test_add_and_remove_tags to use 'total_tags' matching the API schema

Amp-Thread-ID: https://ampcode.com/threads/T-019ce482-05e7-7324-a1b0-a56a929cc7ef
Co-authored-by: Amp <amp@ampcode.com>
2026-03-16 09:39:26 -04:00
..
queries Merge system+user metadata into filter projection 2026-03-16 09:39:26 -04:00
services Change preview_id to reference asset by reference ID, not content ID 2026-03-16 09:39:26 -04:00
conftest.py
helpers.py
test_assets_missing_sync.py
test_crud.py
test_downloads.py
test_file_utils.py
test_list_filter.py
test_metadata_filters.py
test_prune_orphaned_assets.py
test_sync_references.py
test_tags_api.py Fix missing tag count for is_missing references and update test for total_tags field 2026-03-16 09:39:26 -04:00
test_uploads.py Require at least one tag in UploadAssetSpec 2026-03-16 09:39:26 -04:00