+
    #j                        R t ^ RIHt ^ RIt^ RIt^ RIt^ RIHt ^ RIt]! ]	4      P                  4       P                  P                  t]R,          t]R,          t]P                  P!                  ^ ]! ]4      4       ]P$                  R R l4       t]P$                  R R	 l4       t]P$                  R
 R l4       t]P$                  R R l4       t]P$                  R R l4       t]P$                  R R l4       tR tR# )zPytest configuration for the comfyui skill test suite.

Adds `scripts/` to sys.path so tests can `from _common import ...`, and
provides a few common fixtures.
)annotationsN)Pathscripts	workflowsc                   V ^8  d   QhRR/#    returndict )formats   "`/opt/hermes-venv/lib/python3.14/site-packages/../../../skills/creative/comfyui/tests/conftest.py__annotate__r      s     E Et E    c                 `    \         P                  ! \        R ,          P                  4       4      # )zsd15_txt2img.jsonjsonloads	WORKFLOWS	read_textr   r   r   sd15_workflowr      s     ::y#66AACDDr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s     I It Ir   c                 `    \         P                  ! \        R ,          P                  4       4      # )zflux_dev_txt2img.jsonr   r   r   r   flux_workflowr      s     ::y#::EEGHHr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   "   s     F F Fr   c                 `    \         P                  ! \        R ,          P                  4       4      # )zwan_video_t2v.jsonr   r   r   r   video_workflowr   !   s     ::y#77BBDEEr   c                   V ^8  d   QhRR/# r   r	   r   r   )r   s   "r   r   r   '   s      t r   c                     \         # N)r   r   r   r   workflows_dirr!   &   s    r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   ,   s      T r   c                     \         # r    )SCRIPTSr   r   r   scripts_dirr%   +   s    Nr   c                   V ^8  d   QhRR/# )r   r	   z
str | Noner   )r   s   "r   r   r   1   s     1 1: 1r   c                 @    \         P                  P                  R4      # )ziCloud API key if set, otherwise None.

Tests that need cloud connectivity should skip when this is None.
COMFY_CLOUD_API_KEY)osenvirongetr   r   r   	cloud_keyr,   0   s     ::>>/00r   c                    \         P                  P                  R4      '       d   R# \        P                  P                  RR7      pV F'  pRVP                  9   g   K  VP                  V4       K)  	  R# )z-Auto-skip cloud tests when no API key is set.r(   Nz*Set COMFY_CLOUD_API_KEY to run cloud tests)reasoncloud)r)   r*   r+   pytestmarkskipkeywords
add_marker)configitems
skip_clouditems   &&  r   pytest_collection_modifyitemsr9   9   sS    	zz~~+,,!!)U!VJdmm#OOJ' r   )__doc__
__future__r   r   r)   syspathlibr   r0   __file__resolveparentROOTr$   r   pathinsertstrfixturer   r   r   r!   r%   r,   r9   r   r   r   <module>rF      s   #  	 
  H~&&--

;	 3w<   E E I I F F     1 1(r   