fix: update all remaining category assertions to handle emoji prefixes

- Change startswith checks to contains checks for ComfyAssets/
- All nodes use '🫶 ComfyAssets/...' format with emoji prefix
This commit is contained in:
Vito Sansevero
2025-08-10 06:51:43 -07:00
parent c561e59650
commit bf55338b61
+4 -4
View File
@@ -333,7 +333,7 @@ jobs:
assert res_class.RETURN_TYPES == ('INT', 'INT')
assert res_class.RETURN_NAMES == ('width', 'height')
assert res_class.CATEGORY.startswith('ComfyAssets/')
assert 'ComfyAssets/' in res_class.CATEGORY
print('✓ Resolution Calculator ComfyUI integration passed')
# Test Width Height Selector
@@ -354,7 +354,7 @@ jobs:
assert wh_class.RETURN_TYPES == ('INT', 'INT')
assert wh_class.RETURN_NAMES == ('width', 'height')
assert wh_class.CATEGORY.startswith('ComfyAssets/')
assert 'ComfyAssets/' in wh_class.CATEGORY
print('✓ Width Height Selector ComfyUI integration passed')
# Test Sampler Combo
@@ -374,7 +374,7 @@ jobs:
assert 'steps' in input_types['required']
assert 'cfg' in input_types['required']
assert sampler_class.CATEGORY.startswith('ComfyAssets/')
assert 'ComfyAssets/' in sampler_class.CATEGORY
print('✓ Sampler Combo ComfyUI integration passed')
# Test Seed History
@@ -393,7 +393,7 @@ jobs:
assert seed_class.RETURN_TYPES == ('INT',)
assert seed_class.RETURN_NAMES == ('seed',)
assert seed_class.CATEGORY.startswith('ComfyAssets/')
assert 'ComfyAssets/' in seed_class.CATEGORY
print('✓ Seed History ComfyUI integration passed')
print('🎉 All tools ComfyUI integration readiness tests passed!')