From cf533d22bd981f812133767d0f9f337727730baa Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Thu, 26 Dec 2013 09:59:12 +0100 Subject: [PATCH] roundtrip test for property parameter adding --- src/icalendar/tests/test_fixed_issues.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/icalendar/tests/test_fixed_issues.py b/src/icalendar/tests/test_fixed_issues.py index 28e48e8..0ade0ad 100644 --- a/src/icalendar/tests/test_fixed_issues.py +++ b/src/icalendar/tests/test_fixed_issues.py @@ -211,3 +211,9 @@ END:VCALENDAR""" b'X-APPLE-RADIUS=72;X-TITLE="367 George Street":' b'geo:-33.868900\r\n \\,151.207000\r\nEND:VEVENT\r\n' ) + + # roundtrip + self.assertEqual( + event.to_ical(), + icalendar.Event.from_ical(event.to_ical()).to_ical() + )