Skip to content

Commit 37d138f

Browse files
committed
style
1 parent e1388ca commit 37d138f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/test_caldav.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ def testGetCalendar(self):
10181018

10191019
## Not sure if those asserts make much sense, the main point here is to exercise
10201020
## the __str__ and __repr__ methods on the Calendar object.
1021-
if self.check_support('create-calendar.set-displayname'):
1021+
if self.check_support("create-calendar.set-displayname"):
10221022
name = c.get_property(dav.DisplayName(), use_cached=True)
10231023
if not name:
10241024
name = c.url
@@ -1073,7 +1073,7 @@ def testCreateDeleteCalendar(self):
10731073

10741074
if self.check_support("create-calendar.auto"):
10751075
with pytest.raises(self._notFound()):
1076-
self.principal.calendar(name="Yapp", cal_id='shouldnotexist').events()
1076+
self.principal.calendar(name="Yapp", cal_id="shouldnotexist").events()
10771077

10781078
def testChangeAttendeeStatusWithEmailGiven(self):
10791079
self.skip_on_compatibility_flag("read_only")
@@ -1144,9 +1144,9 @@ def testCreateEvent(self):
11441144
assert len(events2) == 1
11451145
assert events2[0].url == events[0].url
11461146

1147-
if not self.check_compatibility_flag(
1148-
"no_mkcalendar"
1149-
) and self.check_support('create-calendar.set-displayname'):
1147+
if not self.check_compatibility_flag("no_mkcalendar") and self.check_support(
1148+
"create-calendar.set-displayname"
1149+
):
11501150
# We should be able to access the calender through the name
11511151
c2 = self.principal.calendar(name="Yep")
11521152
## may break if we have multiple calendars with the same name
@@ -2706,7 +2706,7 @@ def testUnicodeEvent(self):
27062706

27072707
def testSetCalendarProperties(self):
27082708
self.skip_on_compatibility_flag("read_only")
2709-
self.skip_unless_support('create-calendar.set-displayname')
2709+
self.skip_unless_support("create-calendar.set-displayname")
27102710
self.skip_unless_support("delete-calendar")
27112711

27122712
c = self._fixCalendar()

0 commit comments

Comments
 (0)