From bf55338b619675ae4b25c41c034ca0017c57cf85 Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Sun, 10 Aug 2025 06:51:43 -0700 Subject: [PATCH] fix: update all remaining category assertions to handle emoji prefixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change startswith checks to contains checks for ComfyAssets/ - All nodes use '🫶 ComfyAssets/...' format with emoji prefix --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e6ac7e3..e751b16 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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!')