summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-03-02 12:57:32 -0500
committerThomas Bruederli <bruederli@kolabsys.com>2015-03-02 12:57:32 -0500
commite0cdbb50abceae359934f6421445491315069ab7 (patch)
treee415d3bc985e34bf9c30d42afbabbfbc7102c016 /tests/unit
parent403257f86465a53237bb88fd6c7f2d292ab9f041 (diff)
downloadpykolab-e0cdbb50abceae359934f6421445491315069ab7.tar.gz
Store reservations for single occurrences with the same UID in one object (#4766)
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test-011-itip.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test-011-itip.py b/tests/unit/test-011-itip.py
index 8179aa9..e47d314 100644
--- a/tests/unit/test-011-itip.py
+++ b/tests/unit/test-011-itip.py
@@ -501,6 +501,7 @@ class TestITip(unittest.TestCase):
second.set_start(dtstart + datetime.timedelta(hours=1))
second.set_end(dtstart + datetime.timedelta(hours=2))
second.set_recurrence_id(dtstart)
+ second.set_transparency(True)
itip_event['xml'].add_exception(second)
self.assertEqual(len(itip_event['xml'].get_exceptions()), 1)
@@ -514,7 +515,7 @@ class TestITip(unittest.TestCase):
event.set_start(datetime.datetime(2012,7,15, 11,0,0, tzinfo=itip_event['start'].tzinfo))
event.set_end(datetime.datetime(2012,7,15, 11,30,0, tzinfo=itip_event['start'].tzinfo))
- self.assertTrue(itip.check_event_conflict(event, itip_event), "Conflicting dates (exception)")
+ self.assertFalse(itip.check_event_conflict(event, itip_event), "Conflicting dates (exception)")
def test_003_send_reply(self):