Skip to content

Commit

Permalink
Merge branch 'dev' into sync
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau committed Oct 31, 2024
2 parents 3a33ed6 + 335e102 commit 0365ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions yokadi/tests/icaltestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ def testHandlerProcessVTodoModifyTask(self):

def testHandlerProcessVTodoCreateTask(self):
# Create a vTodo to add a new task
modified = datetime.now()
created = modified + timedelta(hours=-1)
vTodo = icalendar.Todo()
vTodo["UID"] = "zogzog"
vTodo.add("summary", "new task")
Expand Down
4 changes: 2 additions & 2 deletions yokadi/tests/textlistrenderertestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def testTitleFormater(self):

TEST_DATA = (
(task, 20, "t1"),
(taskWithKeywords, 20, "t2 (key1, key2)"),
(taskWithKeywords, 20, "t2 @key1 @key2"),
(taskWithKeywords, 4, "t2 >"),
(longTask, 10, longTask.title[:8] + ">*"),
(longTask, len(longTask.title), longTask.title[:-2] + ">*"),
Expand Down Expand Up @@ -78,7 +78,7 @@ def testFullRendering(self):
" Foo \n" \
"ID│Title │U │S│Age │Due date\n" \
"──┼───────────────────┼───┼─┼────────┼────────\n" \
"2 │t2 (k1, k2) │0 │N│0m │ \n" \
"2 │t2 @k1 @k2 │0 │N│0m │ \n" \
"3 │A longer task name*│0 │N│0m │ \n"
self.assertMultiLineEqual(out, expected)

Expand Down

0 comments on commit 0365ba7

Please sign in to comment.