+
    SiW
                         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 formatting.py.)
formatting)	testutilsc                   \   a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tRtV tR# )FormattingTestc                Z    \         P                  ! R 4      pV P                  VR R.4       R# )helloz[1mhello[0mN)r   BoldassertInselftexts   & S/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/fire/formatting_test.py	test_boldFormattingTest.test_bold   s$    ??7#DMM$"789    c                Z    \         P                  ! R 4      pV P                  VR R.4       R# )r   z[4mhello[0mN)r   	Underliner	   r
   s   & r   test_underlineFormattingTest.test_underline   s&    (DMM$"789r   c                Z    \         P                  ! R ^R7      pV P                  RV4       R# )r   spacesz  helloNr   IndentassertEqualr
   s   & r   test_indentFormattingTest.test_indent!   s$    WQ/DY%r   c                Z    \         P                  ! R ^R7      pV P                  RV4       R# )zhello
worldr   z  hello
  worldNr   r
   s   & r   test_indent_multiple_lines)FormattingTest.test_indent_multiple_lines%   s%    ^A6D'.r   c                Z    \         P                  ! R .4      pV P                  R .V4       R# )riceNr   WrappedJoinr   r   liness   & r   test_wrap_one_item!FormattingTest.test_wrap_one_item)   s&    ""F8,EfXu%r   c                b    \         P                  ! . RO^R7      pV P                  . ROV4       R# )r!   )widthN)r!   beanschickencheese)zrice | beans |z	chicken |r,   r"   r$   s   & r   test_wrap_multiple_items'FormattingTest.test_wrap_multiple_items-   s.    ""#I)+-E  !&(r   c                h    R p\         P                  ! V^
\        R7      pV P                  RV4       R# )This is a stringr   available_spaceline_lengthz
This is...Nr   EllipsisTruncateLINE_LENGTHr   r   r   truncated_texts   &  r   test_ellipsis_truncate%FormattingTest.test_ellipsis_truncate4   s/    D002;@N\>2r   c                h    R p\         P                  ! V^\        R7      pV P                  R V4       R# )r0   r1   Nr4   r7   s   &  r   'test_ellipsis_truncate_not_enough_space6FormattingTest.test_ellipsis_truncate_not_enough_space:   s/    D001+?N'8r   c                h    R p\         P                  ! V^\        R7      pV P                  RV4       R# )1000000000Lr1   z10...0LNr   EllipsisMiddleTruncater6   r   r7   s   &  r   test_ellipsis_middle_truncate,FormattingTest.test_ellipsis_middle_truncate@   s.    D661+?NY/r   c                h    R p\         P                  ! V^\        R7      pV P                  R V4       R# )r?   r1   Nr@   r7   s   &  r   .test_ellipsis_middle_truncate_not_enough_space=FormattingTest.test_ellipsis_middle_truncate_not_enough_spaceF   s.    D661+?N]N3r    N)__name__
__module____qualname____firstlineno__r   r   r   r   r&   r-   r9   r<   rB   rE   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s<     ::&/&(3904 4r   r   __main__N)	__doc__firer   r   r6   BaseTestCaser   rH   mainrG   r   r   <module>rT      sA      34Y++ 34l z.. r   