summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-003-event.py
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-10-06 09:43:14 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-10-06 09:43:14 +0200
commit8478ac6830d0002c77ce9b23ca6e1fd35fbec464 (patch)
tree23eb94cbc7df512954c4bfa09d539bb6010328c7 /tests/unit/test-003-event.py
parentee6b450f2fabebaf18d7e7d7ea36d693ecd546ea (diff)
downloadpykolab-8478ac6830d0002c77ce9b23ca6e1fd35fbec464.tar.gz
T1221: Fix a "race" between Event and Todo properties_map dict
Summary: Fixes T1221 Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Maniphest Tasks: T1221 Differential Revision: https://git.kolab.org/D216
Diffstat (limited to 'tests/unit/test-003-event.py')
-rw-r--r--tests/unit/test-003-event.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test-003-event.py b/tests/unit/test-003-event.py
index a7ab82f..09ab17d 100644
--- a/tests/unit/test-003-event.py
+++ b/tests/unit/test-003-event.py
@@ -889,7 +889,7 @@ END:VEVENT
self.assertIsInstance(data, dict)
self.assertIsInstance(data['start'], datetime.datetime)
- # self.assertIsInstance(data['end'], datetime.datetime)
+ self.assertIsInstance(data['end'], datetime.datetime)
self.assertIsInstance(data['created'], datetime.datetime)
self.assertIsInstance(data['lastmodified-date'], datetime.datetime)
self.assertEqual(data['uid'], '75c740bb-b3c6-442c-8021-ecbaeb0a025e')
@@ -936,7 +936,7 @@ END:VEVENT
e2.set_lastmodified()
diff = compute_diff(e1.to_dict(), e2.to_dict(), True)
- self.assertEqual(len(diff), 4, "Diff: (length: %d):\r\n%r\r\n%r" % (len(diff), diff, e2.__str__()))
+ self.assertEqual(len(diff), 5, "Diff: (length: %d):\r\n%r\r\n%r" % (len(diff), diff, e2.__str__()))
ps = self._find_prop_in_list(diff, 'summary')
self.assertIsInstance(ps, OrderedDict)