+
    Si^
                         R t ^ RIHt ^ RIHt ^Pt ! R R]P
                  4      t]R8X  d   ]P                  ! 4        R# R# )z$Tests for custom description module.)custom_descriptions)	testutilsc                   J   a  ] tR t^t o R tR tR tR tR tR t	R t
RtV tR	# )
CustomDescriptionTestc                h    R p\         P                  ! V^P\        R7      pV P                  VR4       R# Testobjavailable_spaceline_lengthz"Test"Nr   
GetSummaryLINE_LENGTHassertEqualself	componentsummarys   &  \/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/fire/custom_descriptions_test.py%test_string_type_summary_enough_space;CustomDescriptionTest.test_string_type_summary_enough_space   s/    I!,,r{DGWh'    c                h    R p\         P                  ! V^\        R7      pV P                  VR4       R# )r   r	   z"..."Nr   r   s   &  r   3test_string_type_summary_not_enough_space_truncatedICustomDescriptionTest.test_string_type_summary_not_enough_space_truncated   s/    I!,,qkCGWg&r   c                h    R p\         P                  ! V^\        R7      pV P                  VR4       R# r   r   r   s   &  r   2test_string_type_summary_not_enough_space_new_lineHCustomDescriptionTest.test_string_type_summary_not_enough_space_new_line%   s/    I!,,qkCGWh'r   c                h    R p\         P                  ! V^
\        R7      pV P                  VR4       R# )Lorem ipsum dolor sit ametr	   z
"Lorem..."Nr   r   s   &  r   8test_string_type_summary_not_enough_space_long_truncatedNCustomDescriptionTest.test_string_type_summary_not_enough_space_long_truncated+   s/    ,I!,,r{DGWl+r   c                h    R p\         P                  ! V^P\        R7      pV P                  VR4       R# )r   r	   zThe string "Test"Nr   GetDescriptionr   r   r   r   descriptions   &  r   )test_string_type_description_enough_space?CustomDescriptionTest.test_string_type_description_enough_space1   s0    I%44r{DK["56r   c                h    R p\         P                  ! V^\        R7      pV P                  VR4       R# )r    r	   zThe string "Lore..."Nr$   r&   s   &  r   7test_string_type_description_not_enough_space_truncatedMCustomDescriptionTest.test_string_type_description_not_enough_space_truncated7   s0    ,I%44r{DK["89r   c                h    R p\         P                  ! V^
\        R7      pV P                  VR4       R# )r    r	   z'The string "Lorem ipsum dolor sit amet"Nr$   r&   s   &  r   6test_string_type_description_not_enough_space_new_lineLCustomDescriptionTest.test_string_type_description_not_enough_space_new_line=   s0    ,I%44r{DK["KLr    N)__name__
__module____qualname____firstlineno__r   r   r   r!   r(   r+   r.   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s/     ('(,7:M Mr   r   __main__N)	__doc__firer   r   r   BaseTestCaser   r1   mainr0   r   r   <module>r=      sC    + $ *MI22 *MZ z.. r   