(tests) Fix variable declaration

This commit is contained in:
Francis Lachapelle
2018-03-09 00:43:35 -05:00
parent d57c46a401
commit 5d1a6508d0

View File

@@ -635,6 +635,7 @@ class CalDAVSchedulingTest(unittest.TestCase):
# fetch the organizer's event
org_ev = self._getEvent(self.client, "%s%s" % (self.user_calendar, ics_name))
org_ev_exception = False
for ev in org_ev.vevent_list:
try:
if (ev.recurrence_id.value):
@@ -731,6 +732,7 @@ class CalDAVSchedulingTest(unittest.TestCase):
# needs-action in master event
# declined in the new exception created by the exdate above
org_ev=self._getEvent(self.client, "%s%s" % (self.user_calendar, ics_name))
org_ev_exception = False
for ev in org_ev.vevent_list:
try:
if (ev.recurrence_id.value == attendee_exdate[0]):