o
    .j                     @   s$   d Z ddlZddlmZ dd ZdS )an  This test tests all fuzzed calendars.

To add a new calendar test, echo the base64 calendar string into a file.

- The file is in src/icalendar/tests/calendars
- The file name contains "fuzz_testcase" and ends with ".ics"

Templace code to create a new test case:

.. code-block:: console

    echo "" | base64 -d > src/icalendar/tests/calendars/fuzz_testcase_.ics

    N)fuzz_v1_calendarc                 C   s0   |   }tt| ttjjjj|ddd dS )zTest a calendar.T)multipleshould_walkN)	
read_bytesprintreprr   	icalendarcalcalendarCalendar	from_ical)fuzz_v1_calendar_pathr
    r   a/home/thesage/.local/lib/python3.10/site-packages/icalendar/tests/fuzzed/test_fuzzed_calendars.pytest_fuzz_v1   s   

r   )__doc__icalendar.cal.calendarr   icalendar.tests.fuzzedr   r   r   r   r   r   <module>   s    