diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2014-07-07 18:29:00 -0400 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2014-07-07 18:29:00 -0400 |
commit | 6e137a89f6f29975133633e2e70557b3954d4220 (patch) | |
tree | 7c36d78af4499c183996ad6d426496a55f764c2d /tests | |
parent | 5de26915e7b66db1dd139b1b6d33687f7e9dfc66 (diff) | |
download | pykolab-6e137a89f6f29975133633e2e70557b3954d4220.tar.gz |
Add getter for event attachment data
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test-003-event.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test-003-event.py b/tests/unit/test-003-event.py index 363c75e..81337d9 100644 --- a/tests/unit/test-003-event.py +++ b/tests/unit/test-003-event.py @@ -389,6 +389,7 @@ METHOD:REQUEST self.assertEqual(parts[3]['Content-ID'].strip('<>'), attachments[0].uri()[4:]) self.assertEqual(parts[4].get_content_type(), 'text/plain') self.assertEqual(parts[4]['Content-ID'].strip('<>'), attachments[1].uri()[4:]) + self.assertEqual(event.get_attachment_data(1), 'This is a text file') def test_024_bogus_itip_data(self): # DTSTAMP contains an invalid date/time value |