o
    .j                     @   s4   d Z ddlZddlmZ dd Zdd Zdd	 ZdS )
zTest the example function.    Nexample_calendarc                  C   s   t d} | d dksJ dS )We can get a valid example.fablab_cottbusz
X-FROM-URLzhttp://blog.fablab-cottbus.deNr   )c r   e/home/thesage/.local/lib/python3.10/site-packages/recurring_ical_events/test/test_example_function.pytest_valid_example_is_returned   s   r	   c                   C   s   t dt dks
J dS )r   durationzduration.icsNr   r   r   r   r   test_we_can_remove_the_ics   s   r   c                  C   sH   t t} td W d   n1 sw   Y  dt| jv s"J dS )z1The error message shows us which examples to use.missingNissue_4)pytestraises
ValueErrorr   strvalue)er   r   r   test_we_know_which_files_are_ok   s   
r   )__doc__r   recurring_ical_events.examplesr   r	   r   r   r   r   r   r   <module>   s    