Skip to content

Commit

Permalink
Add extra check in ical test
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau committed Aug 13, 2024
1 parent 57ed265 commit 0b058f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yokadi/tests/icaltestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,6 @@ def testHandlerProcessVTodoCreateTask(self):
# And the task can be retrieved
task = dbutils.getTaskFromId(taskId)
self.assertEqual(task.title, "new task")

# And there is only one task
self.assertEqual(self.session.query(db.Task).count(), 1)

0 comments on commit 0b058f6

Please sign in to comment.