kopia lustrzana https://github.com/collective/icalendar
reproduce fuzzing error
see https://github.com/collective/icalendar/pull/577#discussion_r1382441779pull/581/head
rodzic
41afc2c7d2
commit
7db9bf2aa0
|
@ -0,0 +1,9 @@
|
|||
"""This file collects errors that the OSS FUZZ build has found."""
|
||||
from icalendar import Calendar
|
||||
import pytest
|
||||
|
||||
|
||||
def test_stack_is_empty():
|
||||
"""If we get passed an invalid string, we expect to get a ValueError."""
|
||||
with pytest.raises(ValueError):
|
||||
Calendar.from_ical("END:CALENDAR")
|
Ładowanie…
Reference in New Issue