o
    .j                     @   s(   d Z dZdZdd Zdd Zdd Zd	S )
a  These tests are for Issue 27
https://github.com/niccokunzmann/python-recurring-ical-events/issues/27
https://github.com/niccokunzmann/python-recurring-ical-events/pull/32

Diff of the two files:

diff test/calendars/issue-27-t1.ics test/calendars/issue-27-t2.ics

    < RRULE:FREQ=DAILY;UNTIL=20200429T000000
    < EXDATE:20200427T120000Z
    ---
    > RRULE:FREQ=DAILY;UNTIL=20200429T000000Z
    > EXDATE:20200427T140000Z

)        )r   r      c                 C   s@   | D ]}|d j }|d j |d j  }td| d|  qd S )NDTSTARTDTENDzstart z
 duration )dtprint)eventseventstartduration r   ]/home/thesage/.local/lib/python3.10/site-packages/recurring_ical_events/test/test_issue_27.pyprint_events   s
   
r   c                 C   .   | j tt}t| t|dksJ ddS )z*The until value has no time zone attached.   two events, exdate matches oneN)issue_27_t1between
start_dateend_dater   len	calendarsr	   r   r   r   8test_until_value_with_UNKNOWN_timezone_works_with_exdate      r   c                 C   r   )z+The until value uses the default time zone.r   r   N)issue_27_t2r   r   r   r   r   r   r   r   r   8test_until_value_with_DEFAULT_timezone_works_with_exdate#   r   r   N)__doc__r   r   r   r   r   r   r   r   r   <module>   s    