Skip to content

Commit d88e8f4

Browse files
committed
style fix
1 parent 77722ed commit d88e8f4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/test_caldav_unit.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ def testTodoDuration(self):
13321332
my_todo1.icalendar_instance.subcomponents[0].pop("DTSTART")
13331333
my_todo1.set_duration(timedelta(days=3))
13341334
assert my_todo1.get_duration() == timedelta(days=3)
1335-
1335+
13361336
## 6) DUE and DTSTART set, DTSTART as the movable component (default)
13371337
my_todo2 = Todo(client, data=todo_implicit_duration)
13381338
orig_end = my_todo2.component.end
@@ -1341,13 +1341,13 @@ def testTodoDuration(self):
13411341
assert my_todo2.component.end == orig_end
13421342

13431343
## 7) DURATION set, but neither DTSTART nor DTEND
1344-
assert not 'DTSTART' in my_todo4.component
1345-
assert not 'DUE' in my_todo4.component
1346-
assert my_todo4.component['duration'].dt == timedelta(5)
1344+
assert not "DTSTART" in my_todo4.component
1345+
assert not "DUE" in my_todo4.component
1346+
assert my_todo4.component["duration"].dt == timedelta(5)
13471347
my_todo4.set_duration(timedelta(2))
1348-
assert not 'DTSTART' in my_todo4.component
1349-
assert not 'DUE' in my_todo4.component
1350-
assert my_todo4.component['duration'].dt == timedelta(2)
1348+
assert not "DTSTART" in my_todo4.component
1349+
assert not "DUE" in my_todo4.component
1350+
assert my_todo4.component["duration"].dt == timedelta(2)
13511351

13521352
def testURL(self):
13531353
"""Exercising the URL class"""

0 commit comments

Comments
 (0)