
    i                      &    d Z ddlmZmZ d Zd ZdS )z2Test for Issue #950: with_uid method on Component.    )CalendarEventc                  V   t                      } t                      }|                    dd           |                    dd           |                     |           |                     d          }t          |          dk    sJ |d                             d          dk    sJ dS )z6Test that with_uid finds components with matching UID.uidztest-uid-12345summaryz
Test Event   r   N)r   r   addadd_componentwith_uidlengetcaleventresults      Y/root/projects/butler/venv/lib/python3.11/site-packages/icalendar/tests/test_issue_950.pytest_with_uid_finds_eventr      s    
**CGGE	IIe%&&&	IIi&&&e\\*++Fv;;!!9==#3333333    c                      t                      } t                      }|                    dd           |                     |           |                     d          }|g k    sJ dS )z9Test that with_uid returns empty list when UID not found.r   zsome-other-uidznonexistent-uidN)r   r   r	   r
   r   r   s      r   *test_with_uid_returns_empty_when_not_foundr      s`    
**CGGE	IIe%&&&e\\+,,FR<<<<<<r   N)__doc__	icalendarr   r   r   r    r   r   <module>r      sK    8 8 % % % % % % % %
4 
4 
4    r   