summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-011-wallace_resources.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-02-20 03:19:01 -0500
committerThomas Bruederli <bruederli@kolabsys.com>2014-02-20 03:19:01 -0500
commit5b59c3723ae76401bde695c56938ae0b2f8b81f5 (patch)
tree80eb0b479891e09f3d6ba568db17c64ad1f9eb1c /tests/unit/test-011-wallace_resources.py
parent312d3875fc04848e6086b61cc4165829c20a5c24 (diff)
downloadpykolab-5b59c3723ae76401bde695c56938ae0b2f8b81f5.tar.gz
Handle iTip updates and cancellations for resources
Diffstat (limited to 'tests/unit/test-011-wallace_resources.py')
-rw-r--r--tests/unit/test-011-wallace_resources.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test-011-wallace_resources.py b/tests/unit/test-011-wallace_resources.py
index f6b2d40..204df06 100644
--- a/tests/unit/test-011-wallace_resources.py
+++ b/tests/unit/test-011-wallace_resources.py
@@ -291,6 +291,7 @@ class TestWallaceResources(unittest.TestCase):
def test_001_itip_events_from_message(self):
itips1 = module_resources.itip_events_from_message(message_from_string(itip_multipart))
self.assertEqual(len(itips1), 1, "Multipart iTip message with text/calendar")
+ self.assertEqual(itips1[0]['method'], "REQUEST", "iTip request method property")
itips2 = module_resources.itip_events_from_message(message_from_string(itip_non_multipart))
self.assertEqual(len(itips2), 1, "Detect non-multipart iTip messages")