mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 00:48:12 +08:00
Improved cluster test
This commit is contained in:
@@ -15,6 +15,9 @@ def count_letters(tup):
|
||||
def count_letters2(obj):
|
||||
return count_letters(obj.get_words())
|
||||
|
||||
def get_task_name(task):
|
||||
return task.name
|
||||
|
||||
def result(obj):
|
||||
print('RESULT HOOK {} : {}'.format(obj.name, obj.result))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user