mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-02 05:58:12 +08:00
Adds tests for task chains
adds several small improvements based on the problems that surfaced during writing the tests
This commit is contained in:
@@ -38,5 +38,9 @@ def get_user_id(user):
|
||||
return user.id
|
||||
|
||||
|
||||
def hello():
|
||||
return 'hello'
|
||||
|
||||
|
||||
def result(obj):
|
||||
print('RESULT HOOK {} : {}'.format(obj.name, obj.result))
|
||||
|
||||
Reference in New Issue
Block a user