docs: Added a report example

Also added  a test based on the example.
This commit is contained in:
Ilan
2015-07-16 14:03:07 +02:00
parent 28d57cb03b
commit 6826e75a37
3 changed files with 82 additions and 16 deletions
+4
View File
@@ -35,5 +35,9 @@ def get_task_name(task):
return task.name
def get_user_id(user):
return user.id
def result(obj):
print('RESULT HOOK {} : {}'.format(obj.name, obj.result))