I want to do a unittest on a function inside Google App Engine taskqueue. I would like to know if there is any method by which we can execute the tasks in taskqueue so as to test whether it yields the desired output.
Is it possible to execute a task inside Google App Engine taskqueue?
649 views Asked by Jageet Mohan J At
1
You need to manually deque the task from the queue and post to the url with all the params. Check these doc https://cloud.google.com/appengine/docs/python/tools/localunittesting#Python_Writing_task_queue_tests http://googleappengine.googlecode.com/svn/trunk/python/google/appengine/api/taskqueue/taskqueue_stub.py